Eric wrote: > On Mar 30, 11:43�am, Bharat Ruparel <[email protected]> > wrote: >> What is it that I am missing here? > > <%= render :file => "layouts/application" %> > > That comports with your error, right? Seems too simple of a solution, > but keep in mind that the application layout will be used > automatically anyway, if there isn't one for the current controller.
Hello Eric, You are seeing something obvious that escapes me, hence the frustration. This is contained in my admins.html.erb file which in turn is stored in app/views/layouts directory off the Rails root directory. application.html.erb is the main layout file in the same directory. All I am doing is defining the :secondary_nav symbol using content_for and then delegating to the default application layout file. So why is rails complaining? Bharat -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

