This post originated from an RSS feed registered with Ruby Buzz
by Patrick Lenz.
Original Post: Rails 0.12 - gone are the days of piggy back
Feed Title: poocs.net
Feed URL: http://feeds.feedburner.com/poocsnet
Feed Description: Personal weblog about free and open source software, personal development projects and random geek buzz.
Three weeks after Rails 0.11 had seen the light, Version 0.12 goes airborne with a total of 96 changes, tweaks and fixes.
The highlight of this release surely are eager associations. This technique reduces the amount of queries hammering on your SQL server to 1 (one) in most cases without resorting to writing of manual queries. Alongside of this, the existing find_all and find_first methods have been deprecated in favor of a more flexible find method with named parameters. More of this can be found in the updated API docs.
Additionally, Unit testing has been simplified and more Ajax effects have been added. Best of all: Upgrading doesn't require any code changes at all. The typo tests ran just fine after doing a gem update rails.