Most of you are probably aware that the new Rails 3 is out (check the official Rails 3 Screencasts) with some exciting new features.
This article from net tuts provide us with an overview of some of those new features:
- Unobtrusive JavaScript: Rails is now generating code based on HTML5 attributes and is framework agnostic.
- Improved Security: XSS protection is now enabled by default, so everywhere you write user input to the page is already escaped (remember the "h" method? no need to use it anymore).
- New Query Engine: In Rails 3, each of the passed in parameters has its own method, which can be chained together to get the same results.
- Easier Email: You can provide default parameters (:from and :return_path, for example) to your Mailer class and many other changes.
- Dependency Management: Rails 3 adds the Bundler gem to help manage your dependencies, so you don't need to download and manage each of the gems you use in your application.