Rails 3.1.3 has been released
Posted by jonleighton November 20, 2011 @ 11:14 PM
Rails 3.1.3 has been released. This release mainly contains fixes for regressions that popped up in 3.1.2.
Changes
Action Pack:
Downgrade sprockets to ~> 2.0.3. Using 2.1.0 caused regressions.
Fix using
translatehelper with a html translation which uses the:countoption for pluralization.Jon Leighton
Active Record:
Perf fix: If we're deleting all records in an association, don't add a IN(..) clause to the query. GH 3672
Jon Leighton
Fix bug with referencing other mysql databases in settablename. GH 3690
Fix performance bug with mysql databases on a server with lots of other databses. GH 3678
Christos Zisopoulos and Kenny J
Railties:
- New apps should be generated with a sass-rails dependency of 3.1.5, not 3.1.5.rc.2
As ever, you can see a full list of changes on Github.

Thank you so much for that bug-fix release!
Thanks for great job!
Good to see the sass-rails news! It’s getting to be a smoother experience.
so quickly!
Thanks rails team. Congratulations
Great job ! Any chance we have Less supported like Sass is out of the box ? Thx a lot
Seriously? Why is Sprockets causing so much trouble?
But thanks nevertheless!
thank you.
Excelent!, upgrading my apps to the last rails version right now :D
Good news for all rorers!
good job
Thanks Rails Team
Please consider including a link to upgrade instructions in every release announcement.
I’m not suggesting that you provide per-release instructions, just a link to whatever instructions are appropriate for this release (usually the same as the ones that were appropriate for the last release). :-)
good news, thanks!
this release (i jumped over from 3.1.0) got something wrong with versions: i got models/version.rb, and ‘rails s’ says [...]/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:490:in `load_missing_constant’: Expected [...]/app/models/version.rb to define VERSION (LoadError). if i remove this file completely just to make it run, next error is [...]/gems/devise-1.5.2/lib/devise/omniauth.rb:9:in `<top>’: uninitialized constant OmniAuth::VERSION (NameError) so i’m rolling back to 3.1.0 for now :(