So in the middle of delivering a website to somebody I naively upgraded
to rails 2.0, and WTF? Why did the scaffolding change so dramatically
without leaving the old commands around? (insert Zed S. rant here) So
I figured out how to run the scaffold command and the code it creates is
TOTALLY different than anything I know. WHY do I need webservices built
into my stupid little website again, could somebody please remind me?
Anyway, end of rant (but still irritated).
Here comes a real question:
- Before it was easy to remove a layout for a specific controller and
use the default application.rhtml layout. In my case the
application.rhtml has all my navigational tabs and stuff like that. Now
when I remove the layout created by the scaffold command I get an error.
Could somebody please tell me how to remove the layout file created my
this fabulous 2.0 scaffold command?