RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: stevenm
Site: huan.co.uk
I had an issue with the content_tag escaping the json ?
so ended up using
<%= content_tag :div, "" , id: "Orders" , data: { orders: raw(@orders.to_json) } %>
I had an issue with the content_tag escaping the json ?
so ended up using
<%= content_tag :div, "" , id: "Orders" , data: { orders: raw(@orders.to_json) } %>