aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorEgor Homakov <homakov@gmail.com>2012-05-12 10:26:22 +0400
committerEgor Homakov <homakov@gmail.com>2012-05-12 10:26:22 +0400
commit1d1939056a81dd809b623a17d9930cf0bd1ca8ca (patch)
tree08ea5fe660c1f53484f61f7d3c1e1397d88eecc3 /railties
parent2091e5a65e2950689ad3242d67fdd7b15aa3411b (diff)
downloadrails-1d1939056a81dd809b623a17d9930cf0bd1ca8ca.tar.gz
rails-1d1939056a81dd809b623a17d9930cf0bd1ca8ca.tar.bz2
rails-1d1939056a81dd809b623a17d9930cf0bd1ca8ca.zip
Update railties/lib/rails/generators/rails/app/templates/config/application.rb
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/application.rb3
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 c8a3c13b95..daa04c144e 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/application.rb
+++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -43,6 +43,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,