Rails 3.0 has been underway for a good two years, so it’s with immense pleasure that we can declare it’s finally here. We’ve brought the work of more than 1,600 contributors together to make everything better, faster, cleaner, and more beautiful.
David Heinemeier Hansson
So at this moment, if you run a gem install rails, you will notice that it install the version 3 Why? Because it’s stable (or it should be (A)).
Where to start?
You should start by checking the “rails 3 screencasts” that you can find on the rails website. It’s a great introduction to see the news on the rails 3 framework. As usually, you can find good videos on railscasts about rails 3, how to migrate to rails 3, etc.
You can find all the improvements on the official website, but just to summarize them, in rails 3 you will find:
- New Active Record query engine
- New router for Action Controller
- New Action Mailer
- Manage dependencies with Bundler
- XSS protection by default
- Ruby 1.9 Encoding support
- Active Model: Validations, callbacks, etc for all models, so you can use other ORMs with rails in a easy way
- Official plugin APIs (railties)
- Rewritten internals
- Agnosticism with jQuery, rSpec, and Data Mapper