News for hackers. Stuff that matters.
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.

Re:Rails 3.1 beta 1 released by MartinMond on Thursday May 05, 2011 @12:55AM (#2516233)
IMO the most important improvement is the IdentityMap
Re:Rails 3.1 beta 1 released by keeran on Thursday May 05, 2011 @08:16AM (#2517017)
I'm very much looking forward to making use of the associations rewrite by Jon Leighton (http://jonathanleighton.com/).

Nested has-many:through relationships are a go! :)

Re:Rails 3.1 beta 1 released by pdelgallego on Thursday May 05, 2011 @03:26AM (#2516519)
Care to explain? I haven't hear about it.
Re:Rails 3.1 beta 1 released by tomeric on Thursday May 05, 2011 @03:39AM (#2516542)
The 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.

Re:Rails 3.1 beta 1 released by ctide on Thursday May 05, 2011 @03:56AM (#2516565)
Re:Rails 3.1 beta 1 released by fullmoon on Thursday May 05, 2011 @03:01AM (#2516472)
Oh, it is in finally? Exciting!
Re:Rails 3.1 beta 1 released by johnb on Thursday May 05, 2011 @03:33AM (#2516531)
I know this isn't reddit, and I know it isn't welcome on news.yc... but

... that's what she said.

Re:Rails 3.1 beta 1 released by rbates on Thursday May 05, 2011 @09:38PM (#2519680)
I've gathered up the changelog entries into a gist: https://gist.github.com/958283
Re:Rails 3.1 beta 1 released by MatthewB on Wednesday May 04, 2011 @11:24PM (#2516065)
I 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.

Re:Rails 3.1 beta 1 released by uriel on Thursday May 05, 2011 @10:00AM (#2517366)
Rails is the new PHP, sigh.
Re:Rails 3.1 beta 1 released by config_yml on Thursday May 05, 2011 @02:37AM (#2516418)
Mountable engines seems to be major to me. I think (or hope) it will ignite a whole new slew of cool gems.
Re:Rails 3.1 beta 1 released by jarin on Thursday May 05, 2011 @06:40AM (#2516811)
Definitely looking forward to HTTP streaming and the new SASS/JS asset handling!
Re:Rails 3.1 beta 1 released by anko on Thursday May 05, 2011 @07:24PM (#2519319)
anyone 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?