Rails 3.0.5 has been released!

Posted by spastorino February 27, 2011 @ 03:52 PM

Aaron Patterson showed us some tenderlove this week by releasing Rails 3.0.5. Have a peek at what got updated.

Bugs Fixed

  • Fix when gzip returns a UTF-8 string on Ruby 1.9, when it is actually binary. commit
  • Active Record limit values will not escape Arel SQL Literal nodes. commit
  • Relation#where calls will always produce AND statements regardless of how conditions hashes behaves (reverting 00693209ecc).
  • Observer callbacks will only be executed once when using STI classes in ActiveRecord. commit

Deprecations Added:

  • Deprecate Relation#& alias for Relation#merge. commit
  • Deprecated support for interpolated association conditions with the :conditions => ‘foo = #{bar}’ syntax, and added the new interpolation syntax which is :conditions => proc { “foo = #{bar}” }. commit

This is not a complete list of changes. The complete list of changes can be found here

SHA1 Checksums:

  • actionmailer-3.0.5.gem b25750c8126aa21db27d7b0ee829b2e94e525ebc
  • actionpack-3.0.5.gem 0a6f7f9ac2960ff224c913877a2917e1bea80df3
  • activemodel-3.0.5.gem 1556900a7afa1cdcdf4641edbcdd2c24f98bb2de
  • activerecord-3.0.5.gem 33dd05d7362931564f6f15ea7130cc27a5fc09e8
  • activeresource-3.0.5.gem 758f893cbb7ef945c857bf4ca044b94017bdc437
  • activesupport-3.0.5.gem 195fa3f7fa044134703a655cdb906edb515286c4
  • rails-3.0.5.gem 32322bf9952d76c5fa0054c8533c0c58609f40aa
  • railties-3.0.5.gem 3dddf14736dec991c3dbbe2d89495613e72c19c7

Posted in Releases | 28 comments

Comments

  1. Hồ Chù Tịch on 27 Feb 19:08:

    Cảm ơn Rails team rất nhiều :)

  2. Mario on 27 Feb 21:03:

    YEs!

  3. Uģis Ozols on 27 Feb 22:09:

    nice! :)

  4. Bugger on 28 Feb 01:16:

    Upgrading to 3.0.5 appears to break this line

    = javascript_include_tag :all, :recursive => true

    with the error

    No expansion found for :defaults

  5. Jay on 28 Feb 04:39:

    Hai. Yay! Kthxbai :-)

  6. Kin Lum on 28 Feb 05:21:

    Congratulations! and I am number 6 here…

  7. Rails中国 on 28 Feb 05:31:

    Good job!

  8. Paul on 28 Feb 12:37:

    @Bugger http://ashenfelter.com/2011/02/09/fix-for-no-expansion-found-for-defaults-error-in-rails-3-0-4/

  9. Jérémy Lecour on 28 Feb 13:59:

    I guess it’s important to say that some inflections have been added (https://github.com/rails/rails/commit/1754bd9b208e8d9207c226d1ffb3cee490856a78) and now words like “media” stay “media” in plural form.

    I’m using Paperclip and it is the name of one of my attachments. When I upgraded to Rails 3.0.5 many of my pictures were not found. I’ve lost 15 minutes looking for problems with Amazon S3, … before I noticed the missing “s” in the URL.

    Maybe someone else will get hit by this, so here it is mentioned.

  10. ARTSIOM on 28 Feb 15:58:

    after updating rails to 3.0.5 I have to explicitely require ‘net/http’ in my ApplicationHelper to make some http-call.

    does this changed in 3.0.5 that ‘net/http’ is no longer loaded by default?

  11. Adrian Perez on 28 Feb 19:03:

    Beatiful. Awesome. Ok, can’t wait for 3.1.0, looking at the changelogs I wanna cry ;)

  12. Santiago Pastorino on 28 Feb 19:28:

    @Bugger @Paul Fix for the expansion error https://github.com/rails/rails/commit/4c681f6ec5a6bbc7198e8fbceb9eb5831ba03225 Anyways why are you trying to use an empty expansion?

    I mean …

    register_javascript_expansion :default => []

    and then …

    javascript_include_tag :default

    Doesn’t make any sense, perhaps you need to remove the javascript_include_tag from the layout?

  13. tom myer on 28 Feb 21:15:

    alright – perfect guys! everythings works in my app (already in production!). thanks to all the committers for their hard work!!

  14. Aleksander Dąbrowski on 01 Mar 10:40:

    It looks like everything works after update this time. :)

  15. Jon on 02 Mar 00:29:

    Upgraded and all is well after making some minor code changes. Great job, Rails core! Thanks again.

  16. stephen murdoch on 02 Mar 10:57:

    thanks rails team – upgrade went smoothly

  17. tomekw on 02 Mar 15:59:

    I think sequence in which records are deleted in HABTM association has changed.

    I am using “foreigner” to force database constraints and now I cannot remove associated record (when there is “restrict” set on foreign key), I have to remove records from intersection table first.

  18. sam on 03 Mar 09:51:

    This articles helps me more.Thanks for your sharing,I will pay more attentions to your blog. Looking forward to your better and better articles.See you next time. tiffany & co

  19. 哈立德 on 03 Mar 18:18:

    是的

  20. 哈立德 on 03 Mar 18:19:

    是的

  21. Thiago Taranto on 05 Mar 17:16:

    Thank´s guys! RoR rulez!

  22. Arima Tosho on 10 Mar 13:34:

    ありがとう

  23. Ariel De La Rosa on 15 Mar 04:35:

    Nice, is wonderful how the gem shine over that rails!

  24. sexy mature mom on 17 Mar 07:19:

    I admire with your knowledge. The excellent and it is definitely going to help me some time.

  25. The Chosen One on 17 Mar 21:08:

    Congrats on the successful release ! I am telling ALL MY FRIENDS !!!

    3.0.5 RULEZ !! Go TEAM ! Where can I DONATE NOW !! Do you ACCEPT EUROS ?!

  26. The Chosen One on 17 Mar 21:08:

    Congrats on the successful release ! I am telling ALL MY FRIENDS !!!

    3.0.5 RULEZ !! Go TEAM ! Where can I DONATE NOW !! Do you ACCEPT EUROS ?!

  27. Chaitanya Vellanki on 18 Mar 16:40:

    Kudos to the Ruby on Rails community … I am seeing significant speedup in my app after the upgrade from 2.3.9 to 3.0.5. Go Rails :-)

  28. Hospital on 24 Mar 16:24:

    Thanks for this very useful info you have provided us. I will bookmark this for future reference and refer it to my friends. More power to your blog

    Hospital Porn mp3