Rails 2.3: Templates, Engines, Rack, Metal, much more!
Posted by David March 16, 2009 @ 02:39 PM
Rails 2.3 is finally done and out the door. This is one of the most substantial upgrades to Rails in a very long time. A brief rundown of the top hitters:
- Templates: Allows your new skeleton Rails application to be built your way with your default stack of gems, configs, and more.
- Engines: Share reusable application pieces complete with routes that Just Work, models, view paths, and the works.
- Rack: Rails now runs on Rack which gives you access to all the middleware goodness.
- Metal: Write super fast pieces of optimized logic that routes around Action Controller.
- Nested forms: Deal with complex forms so much easier.
And that’s just the tip of the iceberg. We’ve put together a complete guide for the Rails 2.3 release notes with much more information. Be sure to checkout the section on what was deprecated when you’re ready to upgrade your application.
You install 2.3 with (the final version is marked 2.3.2):
gem install rails
If you’re running on Passenger, be sure to upgrade to 2.1.2 as well. Rails 2.3 doesn’t run on older versions of Passenger!
We hope you’ll love it.

You guys rock!
Congrats everyone
Wonderful! Thank you.
Awesome ! Thanks
GREAT !
Kick Ass! Great job all around.
Kick Ass! Great job all around.
Kick Ass! Great job all around.
Congratulations to Rails Team
Thank u guys and gals. Already updated my application (see link) with very little problems. Great job!
Yeah!
hm, the link doesn’t show… Anyway, if you’re interested, it is: http://dailyfratze.de
Congratulations, I can’t wait to rework CabChap to 2.3. Thanks!
There is a bug with has_many :through association and named scope. ActiveRecord generates incorrect mysql statement for count query.
Bug described here: http://rails.lighthouseapp.com/projects/8994/tickets/2250-activerecords-count-method-doesnt-work-with-has_many-through-and-mysql
Congrats! When’s 2.3.1 coming out? ;-)
Awesome work, guys! Thanks.
Thanks guys! Great work!
Hurrrayy!
Thanks to everyone who made this possible!
Great! :)
@Norman Clarke: That’s Rails 2.3.2 already :p 2.3.1 was RC2
You guys turn out new versions so fast! Great Work!
Awesome release!
Finally! Released!
Great Work for this awesome release. Hardly wait to use all the goodies.
Thanks! My personal favs are the helpers with i18n, like i18n views and translation keys
Loving the templates. Congrats all. Be proud. Be very proud.
Thanks. Great work!
A new version, a new game to learn and win.
Thanks Guys.
My congratulations to the hard working core team and to all contributors for this wonderful release! Thank you, thank you, thank you!
Congratulations on the launch! Great work as always.
kick ass.
Most excellent. Thanks to everyone who was a part of this work!
Thanks! Great work!
中国人民发来贺电
Awesome, time to upgrade my applications :)
Awesome! ill try it NOW ! this is great !!
Congratulations, well done!
GG! Great Work!
yahoo! (not the search engine, but the cowboy exclamation)
I’m impressed!
... thanks people …
Yes!
Awesome!
Great!
Now, where do I get started?
Just started giving a JRuby on Rails course this morning and there came rails 2.3.2 from the server. Cool. Thanks to all.
If you have an error message “uninitialized constant ApplicationController”, just rename ‘application.rb to ‘application_controller.rb’.
Thanks
siiiiiick release
word up. congratulations!
great release – thx
Great job guys. Very excited.
Dude. Sweet!
Yes!!
Congratulations and thanks for your efforts.
Marcello: You can also run rake rails:update to handle renaming your application controller (and other version cleanup).
Also, please note that the 2.3.2 tag on GitHub is (accidentally) NOT on the commit that the 2.3.2 gems were built from. If you’re picking up the code from GitHub, please pull edge instead of the 2.3.2 tag, which is missing a critical fix to rack loading.
Great stepping stone to Rails 3.0! Awesome work, guys! Well coordinated with Phusion Passenger 2.1 release, too!
Conrats! http://www.perfectacumen.com/
@andress “yahoo! (not the search engine, but the cowboy exclamation)” – hahaha
Thanks Rails team!
Congrats
Congratulations & Thanks
You guys are the f’n greatest!!!
awesome. congratulations guys!!!!
Thanks!
Congratulations to Rails Team!!!
Great news! Thanks.
@Mike Gunderloy: what commit was used to build the gems?
Wonderful work !!!
Congratulations !!!
Very helpful for developers, great!!!
Это просто охуенно! Спасибо Всем!
Great job on this release, it has some great stuff. On the git issue, will there eventually be a tag that we can use if pulling from github?
@Mike Gunderloy: I found that doing rake:rails:update did not do any 2.3.2 specific updates, until I commented out the version line in my environment.rb file that had: RAILS_GEM_VERSION = ‘2.2.2’ unless defined? RAILS_GEM_VERSION
You guys are too good to be true. Im getting dizzy …
Thanks for the great work!
Nice release. Awesome actually !
Now, stuff I want for Rails 3:
- Separate Validations from ActiveRecord - merge ActivePresenter into rails core
and much more. ;-)
nested forms , wow wow
thank you
Awesome, looks like a lot of great features. Are there any docs online on the current state of engines, and how much the feature is likely to change by Rails 3?
Great work, thanks!
so sweet!
excelente smithers !!!!
Thanks! great work!
@John T.: You need to first update your environment.rb to the following:
RAILS_GEM_VERSION = ‘2.3.2’ unless defined? RAILS_GEM_VERSION
Then run the following command:
rake rails:update
@Rails Core Team and Contributors:
Great job on the 2.3.2 release of Rails.
Rails – is future!
I love ruby & rails! A whole universe of slick and efficient possibilities – and fun to work with. PHP left the stage – ruby is my new star – and rails is the framework! ;)
Thanks for all!
Note: If you need a version of SqlSessionStore that works with Rails 2.3, see: http://github.com/nateware/sql_session_store/tree/master
Thanks!! DHH & Core team!
Excellent team, thank you very much!
Congratulations! Very excited to check out the new Engine stuff. Thanks for bringing it into the the core.
Awesome job guys! Keep up the great work.
Congatulations & Thanks! for it.
Thanks team! Great job!!
How can I make Rails 2.3 to work with Lighttpd?
I am a .net programmer just want to know how to start with this language….I dont know from where to start…Any help will be appreciated ….also sending you the email..
I am a .net programmer just want to know how to start with this language….I dont know from where to start…Any help will be appreciated ….also sending you the email..
This version is something else. You guys are doing great, cheers!
This version Rocks.
Thanks Much!
Ruby on Rails Rocks :)
Thanks, look forward to this new release
Thanks, it’s very good job!Success for your team.
Templates…how freekin’ cool is that? Thanks Rails Core! I’m am really looking forward to 3.0 to see what you and the Merb crew have simmering. You guys rock and keep up the good work.
sweeeet!
Hi guys,
Congratulations, this looks like a very promising update, and the nested forms where a very expected feature. However, I have the most strange issue when update from 2.1 to 2.3: in 2.3, every request to a controller take almost exactly 4.5 seconds before being handled by rails (the rails log say that the rendering took 100 ms. or less).
GET -> 4.5s -> Rails -> 100ms
How can I diagnose where are those 4.5 seconds being expended? (same results under Mongrel and Passenger). Thanks, sorry about the long post, but this issue has me waffled.
Cool!!!!! it is very nice
Nested forms: Deal with complex forms so much easier.
“so much easier” is not an adverb. It should be something like “so much more easily” or something.
how fastdid the trains go