In getting ready for my talk this weekend on Ruby, I scanned the RubyCLR project founder’s web site, and came across this post:
This is a really exciting development in RubyCLR. I’ve taken the first steps in integrating Rails’ most excellent ActiveRecord object-relational mapping layer with Windows Forms data binding.
He then goes on to show some screen shots and sample code. How much easier can you get then:
class MainForm
def initialize
form = Form.new
form.Text = 'ActiveRecord and Windows Forms'
grid = DataGridView.new
grid.dock = DockStyle::Fill
grid.data_source = Person.find_all
form.controls.add(grid)
@form = form
end
end
I can’t wait to download the latest HEAD and play with it. Great job John!