Re:Rails 3.1 beta 1 released
by zaius on Thursday May 05, 2011 @12:13AM
(#2516147)
Doesn't look like they've put together an official changelog yet, but the major changes off the top of my head would be jQuery, Coffeescript, sass, sprockets, css sprites, flushing & deprecation of rails 2 finders.
Re:Rails 3.1 beta 1 released
by vijaydev on Thursday May 05, 2011 @04:01AM
(#2516570)
A few niceties:
1. Console shows SQL queries right there.
2. The file_field automatically adds :multipart => true to the enclosing form.
3. Newer Migrations - There is a "change" method now which can be used to write only the "up" part of the migration and Rails will automatically reverse when a migration is rolled back.
1. Console shows SQL queries right there.
2. The file_field automatically adds :multipart => true to the enclosing form.
3. Newer Migrations - There is a "change" method now which can be used to write only the "up" part of the migration and Rails will automatically reverse when a migration is rolled back.
Nested has-many:through relationships are a go! :)
This basically means that calling Article.find(3) and Comment.where(:article_id => 3).first.article both return the same instance.
... that's what she said.
I am not an excellent hacker but I am learning more by the day. Ruby + Rails is very fun.