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

Cảm ơn Rails team rất nhiều :)
YEs!
nice! :)
Upgrading to 3.0.5 appears to break this line
= javascript_include_tag :all, :recursive => true
with the error
No expansion found for :defaults
Hai. Yay! Kthxbai :-)
Congratulations! and I am number 6 here…
Good job!
@Bugger http://ashenfelter.com/2011/02/09/fix-for-no-expansion-found-for-defaults-error-in-rails-3-0-4/
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.
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?
Beatiful. Awesome. Ok, can’t wait for 3.1.0, looking at the changelogs I wanna cry ;)
@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?
alright – perfect guys! everythings works in my app (already in production!). thanks to all the committers for their hard work!!
It looks like everything works after update this time. :)
Upgraded and all is well after making some minor code changes. Great job, Rails core! Thanks again.
thanks rails team – upgrade went smoothly
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.
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
是的
是的
Thank´s guys! RoR rulez!
ありがとう
Nice, is wonderful how the gem shine over that rails!
I admire with your knowledge. The excellent and it is definitely going to help me some time.
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 ?!
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 ?!
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 :-)
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