Michael Schuerig wrote: > On Wednesday 17 June 2009, Fernando Perez wrote: >> instead of 100 different places. > That would be a job for either helper methods or partials. > > Michael > > -- > Michael Schuerig > mailto:[email protected] > http://www.schuerig.de/michael/
Sorry, I know I'm still very new to rails but I've been learning quite a bit and have worked heavily on helpers this week. >From my understanding, helpers were designed for markup with views. I don't see this as being tied to that unless the login box was wrapped in a particular div style or box that is being called on multiple views. In this case, then yes, absolutely - helpers would be a good thing to use. >From what I've researched and read, if the helper file contains non-markup code, it should be moved to the model. -- 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 -~----------~----~----~----~------~----~------~--~---

