On Mon, May 17, 2010 at 23:54, David Genord II <[email protected]> wrote:

> From your example
>   query = "".html_safe
>   query << params[:query] # This WOULD be escaped. The << operator is
> overwritten to recognize whether what is being appended is html_safe and
> escape it if it isn't to maintain an html_safe string
>

Ah, then my example was totally mistaken. Thank you. However, I still stand
behind consistency, and not special-casing a practice that I don't find
optimal for widespread use.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to