Pål Bergström wrote: > Marnen Laibow-Koser wrote: > > >> Put the query in the controller. Assign it to a variable. Use the >> variable in the view. Just as simple. No helper necessary. No >> breaking MVC. >> > > Will mean extra coding for each page.
I don't believe it will, but perhaps I don't understand the structure of your app. Can you explain how you're using this? Anyway, even if it *does* mean extra coding, it's the right thing to do. 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 -~----------~----~----~----~------~----~------~--~---

