Prevent Rails from encoding the ampersands in a URL when outputting JSON Prevent Rails from encoding the ampersands in a URL when outputting JSON json json

Prevent Rails from encoding the ampersands in a URL when outputting JSON


Add to your application.rb file:

config.active_support.escape_html_entities_in_json = false