6 ms·
Rails 3.1 beta 1 released
- MatthewB 15y agoI just started learning rails...and I love it. I am not an excellent hacker but I am learning more by the day. Ruby + Rails is very fun.
- uriel 15y agoRails is the new PHP, sigh.
- zaius 15y agoDoesn'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.
- MartinMond 15y agoIMO the most important improvement is the IdentityMap
- fullmoon 15y agoOh, it is in finally? Exciting!
- johnb 15y agoI know this isn't reddit, and I know it isn't welcome on news.yc... but ... that's what she said.
- pdelgallego 15y agoCare to explain? I haven't hear about it.
- tomeric 15y agoThe IdentityMap makes sure that there is only 1 ActiveRecord instance for a given row in the database. This basically means that calling Article.find(3) and Comment.where(:article_id => 3).first.article both return the same instance.
- ctide 15y agohttp://edgerails.info/articles/what-s-new-in-edge-rails/2011/04/21/activerecord-identity-map/index.html http://edgerails.info/articles/what-s-new-in-edge-rails/2011... is a good synopsis of IdentityMap.
- keeran 15y agoI'm very much looking forward to making use of the associations rewrite by Jon Leighton (http://jonathanleighton.com/ http://jonathanleighton.com/). Nested has-many:through relationships are a go! :)
- vijaydev 15y agoA 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.
- rbates 15y agoI've gathered up the changelog entries into a gist: https://gist.github.com/958283 https://gist.github.com/958283
- config_yml 15y agoMountable engines seems to be major to me. I think (or hope) it will ignite a whole new slew of cool gems.
- jarin 15y agoDefinitely looking forward to HTTP streaming and the new SASS/JS asset handling!
- anko 15y agoanyone know how the flushing/template streaming works? Is it automatic or do I need to turn it on? How does it know when the head ends?