The old Rails used to have an application.rhtml file. The newer version appear to have .html.erb files for each model. What's the reason there is currently no application.html.erb file?
+5
A:
You can create an application.html.erb
file in the app/view/layouts directory if you want to have an application-wide layout file.
John Topley
2009-06-10 14:15:36
Sweet, thanks John.
Daniel
2009-06-10 23:55:22
A:
And what did the old application.html.erb file show? One of your models? So why not make it a model.html.erb file?
kajaco
2009-06-10 14:20:59