I have an app that relies on a series of helpers to generate language specific text strings for all output.
In one of my models I have to save one of these language specific strings to the table. Therefore I've started investigating how I can accesss my helpers in my model - I know this is not best practise, but its the only way I can see to make this work. I know of the solution with including the helper in the model like this: class Employee < ActiveRecord::Base include LanguageHelper end But this is not that good performance wise? How do I reach my helpers in the model in a more efficient way? Or can I construct my code in a more correct way? Best regards Rudi -- 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 -~----------~----~----~----~------~----~------~--~---

