On Jun 3, 2009, at 12:47 PM, Guyren G Howe wrote:

> I started looking into this because I wasn't getting my layout.

this makes me think--maybe there is no problem with your controller.  
is it possible that some generator created an additional layout in app/ 
views/layouts and that's what you're seeing?

like if you do 'script/generate rspec_scaffold Foo' you get app/views/ 
layouts/foo.html.erb which will override app/views/layouts/ 
application.html.erb. so unless you delete it, anything under /foo  
will be rendered with that other layout...

-neal




--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to