bill walton wrote: [...] > Since Rails allows you to specify the layout to render on a per > controller / per action level the easiest approach might be to have > several layouts. Easy, but it could be a performance-detractor as it > would involve a reload of your JS too.
Why? The JS should be in external files anyway. No HTML file should ever contain JS -- and this is one of the reasons. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 -~----------~----~----~----~------~----~------~--~---

