RailsCasts Pro episodes are now free!

Learn more or hide this

Steven Moffat's Profile

GitHub User: stevenm

Site: huan.co.uk

Comments by Steven Moffat

Avatar

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) } %>