How can I get rails to not render escaped quotes as \"
- by James
In my layout I have
<% @current_user.popups.each do |p| %>
<% content_for :script do %>
<%= "$(document).ready ( function() { $.jGrowl(\"#{p.message}\", { sticky: true }) });" %>
<% end %>
<% end %>
And then in the script section I have
<%= yield :script %>
The problem is that this renders the…