Sijo k g wrote: > Hi Pål Bergström > > My opinion is you can move Pagecontent.find(c) to model and access > this from controller. Then just use it in view so to avoid making db > call from helper/view even this is simple > > > Sijo
I see what you mean. However, that would mean a third set of code strings. Are there any real security problems with my way? -- 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 -~----------~----~----~----~------~----~------~--~---

