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.
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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs