I created a model and controller called feeds that will generate my different feeds. I don''t want the feed to though to be incorporated into my application.rhtml global layout file so within the feeds model I added: layout nil as suggested here: http://rails.rubyonrails.com/classes/ActionController/Layout/ClassMethods.html That seems to not solve the problem and I can''t find a render_without_layout or something like that... any suggestions? Man I love rails and ruby... within 4 days I have accomplished so much... my weblog is 90% done... only a couple cue cards left to impliment :-). Rails and cue cards... my new favorite development environment. Though I am dying for a book on rails... would help me a lot!!!
John Baku wrote:> I created a model and controller called feeds that will generate my different > feeds. I don''t want the feed to though to be incorporated into my > application.rhtml global layout file so within the feeds model I added: > > layout nilThe `layout` method belongs in the controller, not the model class FeedsController < ActionController::Base layout nil # ... end -- Lee
Doohh... been starring at the screen too long... thanks :-) Quoting Lee O''Mara <lee-O8glSrxzjJo@public.gmane.org>:> John Baku wrote: > > I created a model and controller called feeds that will generate my > different > > feeds. I don''t want the feed to though to be incorporated into my > > application.rhtml global layout file so within the feeds model I added: > > > > layout nil > > The `layout` method belongs in the controller, not the model > > > class FeedsController < ActionController::Base > layout nil > > # ... > > end > > -- > Lee > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >