White_list plugin, how to use?

hi, i have a form where users can create a description or a post.

when the description is viewed, i just call this in the view?

<%= white_list @article.body %>

would it be better to strip all the tags i do not want before i save?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs