Re: Sample code for displaying a MIME email message on a web page?

Joshua Baer
Sun, 05 Aug 2007 02:07:52 -0000

Sorry one last question on TextHelper... I can call sanitize from
within a view (.rhtml file) no problem, but when I try to use it
within a controller or model it complains that the method is unknown.
What do I need to require/include to reference sanitize from within a
controller or model?

~Josh


On Aug 4, 8:14 pm, Kip <kipco...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> Josh,
here:http://rails.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html
>
> Cheers, --Kip
>
> On Aug 5, 9:06 am, Joshua Baer
<joshuab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > What''s the best place to find documentation on sanitize,
strip_links,
> > etc. and find other functions like this? I''m looking through
Ruby Core
> > and Ruby Standard Libs and don''t see it.
>
> > ~Josh