Rails 3
From Docunext Technology Wiki
As of October 2010, Rails 3 is on the go.
I'm trying it out today and while I hit some hurdles, its looking a whole lot sleeker even at this early release stage.
Contents |
What's New In Rails 3?
- jQuery!!!!
What's New In Rails 3.1?
In my opinion, Rails 3.1 is actually quite an advancement on 3.0. The significant changes that I'm aware of are:
- Inherited views (the reason why I started using 3.1 instead of 3.0)
- Engines
HAML on Rails 3
I was reading up on using HAML with Rails 3 and found a cool page that described the modularity of Rails 3.
config.generators do |g| g.template_engine :haml g.test_framework :rspec, :fixture => true, :views => false g.fixture_replacement :factory_girl, :dir => "spec/factories" end
Rails 3 and Rack Middleware
config/application.rb:
class Application < Rails::Application
config.middleware.use Rack::BounceFavicon
end
See this.
Missing from Rails 3?
I wish Rails 3 supported something like Ruby Tilt. Sinatra supports tilt, but actually I came realize recently that Haml support multiple output formats thanks to the use of filters.
Its not missing from Rails 3, but I need to get more experience in using Rack with Rails 3, which I believe can do what Rails Metal was all about - simplified controllers.