rails/rails — pull request #6270 by homakov (2012-05-11 14:08:08+00:00)
Title: configuration for active_support and JSON Encoding

Currently, documented "escape_html_entities_in_json" is not working. As well as use_standard_json_time_format and encode_big_decimal_as_string parameters for JSON Encoder.

Developer should add them to application.rb (because it is env-independent options). Currently additions will not impact anyhow on ActiveSupport - the patch fixes it.

Not sure about adding it to a generators. escape_html_entities_in_json is very important option though, should be added? / @wycats @josevalim