diff options
author | Egor Homakov <homakov@gmail.com> | 2012-05-12 10:26:22 +0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-05-14 07:58:30 +0200 |
commit | 45886843891c6eeba92f8d79ef8ec34738507309 (patch) | |
tree | c96a5d23944bba960d38f19b56f27ee8737f548f | |
parent | 9199ddfb768f6aafd9903be693c7a2a5c79b4878 (diff) | |
download | rails-45886843891c6eeba92f8d79ef8ec34738507309.tar.gz rails-45886843891c6eeba92f8d79ef8ec34738507309.tar.bz2 rails-45886843891c6eeba92f8d79ef8ec34738507309.zip |
Update railties/lib/rails/generators/rails/app/templates/config/application.rb
Signed-off-by: José Valim <jose.valim@gmail.com>
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb index 21e7a4b283..430d8147b0 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb @@ -49,6 +49,9 @@ module <%= app_const_base %> # Configure sensitive parameters which will be filtered from the log file. config.filter_parameters += [:password] + # Enable escaping HTML in JSON. The default is false. + # config.active_support.escape_html_entities_in_json = true + # Use SQL instead of Active Record's schema dumper when creating the database. # This is necessary if your schema can't be completely dumped by the schema dumper, # like if you have constraints or database-specific column types |