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 translate helper with a html translation which uses the :count option 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.

15 comments

Comments

  1. Christian Lupp on 21 Nov 00:49:

    Thank you so much for that bug-fix release!

  2. rochefort on 21 Nov 02:40:

    Thanks for great job!

  3. bat on 21 Nov 03:10:

    Good to see the sass-rails news! It’s getting to be a smoother experience.

  4. BlueBu on 21 Nov 07:12:

    so quickly!

  5. Bhavesh on 21 Nov 09:22:

    Thanks rails team. Congratulations

  6. jm on 21 Nov 11:21:

    Great job ! Any chance we have Less supported like Sass is out of the box ? Thx a lot

  7. Fate on 21 Nov 12:29:

    Seriously? Why is Sprockets causing so much trouble?

    But thanks nevertheless!

  8. Francis on 21 Nov 16:09:

    thank you.

  9. Rodrigo Ayala on 24 Nov 13:52:

    Excelent!, upgrading my apps to the last rails version right now :D

  10. Kewin Wang on 24 Nov 15:17:

    Good news for all rorers!

  11. venu on 25 Nov 12:16:

    good job

  12. venu bitla on 25 Nov 12:19:

    Thanks Rails Team

  13. Sheldon Hearn on 27 Nov 21:22:

    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). :-)

  14. Dewi Persik on 03 Dec 09:42:

    good news, thanks!

  15. Lev Cheryomukhin on 06 Dec 07:06:

    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 :(