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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
koloa (Guest)
on 2007-01-21 18: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?

This topic is locked and can not be replied to.