I have a legacy application I ported from Rails 2.x. I found that the
escaping was occurring where it shouldn’t, like in creation of forms,
and I couldn’t turn it off. I found two mechanisms that should have
disabled it, a function safe_html, which is supposed to mark a string
as not needing to be escaped. The other is raw, which similarly
indicates that a string should be output in its raw form, even if it’s
not safe HTML. Neither of these mechanisms seem to function for me.
Anyone know of something I might have done to muck up this
functionality? Is there a problematic gem possibly?
I have a legacy application I ported from Rails 2.x. I found that the
escaping was occurring where it shouldn’t,
Anyone know of something I might have done to muck up this
functionality? Is there a problematic gem possibly?
Without knowing what gems you’re using, or showing some code snippets
from your views, and maybe the associated controller action, and
generated HTML, it’s going to be very vague speculation at best…