Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #6277 from homakov/patch-6

Comment for active_support's option in application.rb
  • Loading branch information...
commit 98355fe100d9e014e88ba9b1b78f606c9312bc44 2 parents eab0520 + 1d19390
@josevalim josevalim authored
View
3  railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -43,6 +43,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,
Please sign in to comment.
Something went wrong with that request. Please try again.