Permalink
Browse files

Update railties/lib/rails/generators/rails/app/templates/config/appli…

…cation.rb

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 9199ddf commit 45886843891c6eeba92f8d79ef8ec34738507309 @homakov homakov committed with josevalim May 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 railties/lib/rails/generators/rails/app/templates/config/application.rb
View
3 railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -49,6 +49,9 @@ class Application < Rails::Application
# 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

0 comments on commit 4588684

Please sign in to comment.