diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-12 22:44:32 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-13 00:42:40 +0530 |
commit | 03a719843e5107a31b4869211e949d0daf9394d2 (patch) | |
tree | d78429c5347aae9347108af6eb2e08c048fe737d /railties/lib/rails/generators | |
parent | e6b59432eae0171db2fa39533a334a904c067a20 (diff) | |
download | rails-03a719843e5107a31b4869211e949d0daf9394d2.tar.gz rails-03a719843e5107a31b4869211e949d0daf9394d2.tar.bz2 rails-03a719843e5107a31b4869211e949d0daf9394d2.zip |
minor edits
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt index 9e53b6a70d..95d89d2af6 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt @@ -23,7 +23,7 @@ config.action_dispatch.best_standards_support = :builtin <%- unless options.skip_active_record? -%> - # Raise exception on mass assignment protection for ActiveRecord models + # Raise exception on mass assignment protection for Active Record models config.active_record.mass_assignment_sanitizer = :strict # Log the query plan for queries taking more than this (works diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt index 37a8b81dad..204ecb4da8 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt @@ -30,7 +30,7 @@ config.action_mailer.delivery_method = :test <%- unless options.skip_active_record? -%> - # Raise exception on mass assignment protection for ActiveRecord models + # Raise exception on mass assignment protection for Active Record models config.active_record.mass_assignment_sanitizer = :strict <%- end -%> |