views:

20

answers:

1

I am having to explicitly render :layout => 'application' in my controller actions in order to get my new rails 3 app to actually use the application.html.erb layout file.

Any obvious things to look for that I am doing wrong? If I don't call the :layout option it just doesn't render the layout. I get a message like:

Processing by FooController#index as HTML

...when I read the terminal window trace on WEBrick

A: 

I have exactly the same problem

Any clue?

Thanks

Sebastien
I have looked around and found other references to Rails 3 layout bugs. I have just explicitly called the layouts for now. Ugly but it works.
Richard Jordan
I do not understand, because with a standard tutorial project it is working perfectly well.
Sebastien
I will use the same solution as you for the moment
Sebastien