Forum: Ruby on Rails white_list plugin, how to use?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A1e31c8872289429a3ff1ad497cf4140?d=identicon&s=25 koloa (Guest)
on 2007-01-21 17:31
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?

thanks.
This topic is locked and can not be replied to.