I have the following code:
render json: { image: image }
Image has an attribute \"url\". Let\'s say it\'s:
https://blah.com/a?A
Add to your application.rb file:
config.active_support.escape_html_entities_in_json = false