I''ve got a class where I would like to use the TextHelper truncate method. It''s not a M, V or C but is called by a controller. I figured I should be able to mixin the TextHelper in order to have access to the truncate method. But I can''t get it to work. I''m new to Ruby and ROR, so I haven''t done mixins before. Here''s what I''ve got... class Searcher require ''action_view/helpers/text_helper'' include ActionView::Helpers::TextHelper I get a NoMethodError: undefined method `truncate'' for Searcher:Class. How do I get this to work? By the way, I apologize if this has already been answered in this group (as is likely), but I did a search and couldn''t find it. Thanks, Myron --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---