I\'m writing an app that uses Rails on the backend and javascript/backbone on the frontend. I\'m trying to bootstrap some rails models into my javascript. Specifically, I\'
If you intend to use raw(obj.to_json) you MUST ensure the following is set.
ActiveSupport.escape_html_entities_in_json = true