See this note on getting strip_tags outside views:

http://apidock.com/rails/ActionView/Helpers/SanitizeHelper/strip_tags#537-strip-tags-method-not-functioning-in-controllers-models-or-libs

Regards
Kieran



On May 10, 1:43 am, Jian Lin <[email protected]> wrote:
> I want to put the processing logic in the controller... and it has a
> strip_tags call...  and the controller portion will say the function
> doesn't exist.
>
> so is there a way to call strip_tags from the controller?  (instead of
> from view).
> --
> Posted viahttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to