I've just started my first Rails 3 stable app from scratch and still
looking at all the changes. Most things are wonderful. However, I
can't figure out what happened to the layout structure.
In my controller:
class ApplicationController < ActionController::Base
protect_from_forgery
I haven't upgraded from Rails 2.3.x, I've started a new Rails 3
application and edited the generated application.html.erb. I've also
tried creating a new one called main.html.erb and pointing to that in
my ApplicationController, but that didn't work as well.
The logs show nothing weird:
Started GET "/user_sessions/new" for 127.0.0.1 at Wed Sep 08 11:14:27
+0200 2010
SQL (0.4ms) SHOW TABLES
Processing by UserSessionsController#new as HTML
Rendered user_sessions/new.html.erb (7.0ms)
Completed 200 OK in 70ms (Views: 20.2ms | ActiveRecord: 0.4ms)