diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-19 23:12:05 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-19 23:13:19 +0530 |
commit | 6e311b93adf295b97a1ad6056675d32ff51b212f (patch) | |
tree | e8557448cea8be6354cff5eeefb5972d86b65545 /railties/guides/code/getting_started/config/environments/test.rb | |
parent | 4c5b73fef8a41bd2bd8435fa4b00f7c40b721650 (diff) | |
download | rails-6e311b93adf295b97a1ad6056675d32ff51b212f.tar.gz rails-6e311b93adf295b97a1ad6056675d32ff51b212f.tar.bz2 rails-6e311b93adf295b97a1ad6056675d32ff51b212f.zip |
update the getting_started guide code [ci skip]
Diffstat (limited to 'railties/guides/code/getting_started/config/environments/test.rb')
-rw-r--r-- | railties/guides/code/getting_started/config/environments/test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/guides/code/getting_started/config/environments/test.rb b/railties/guides/code/getting_started/config/environments/test.rb index 08697cbbc9..8b826f56ef 100644 --- a/railties/guides/code/getting_started/config/environments/test.rb +++ b/railties/guides/code/getting_started/config/environments/test.rb @@ -29,9 +29,9 @@ Blog::Application.configure do # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test + # Raise exception on mass assignment protection for Active Record models + config.active_record.mass_assignment_sanitizer = :strict + # Print deprecation notices to the stderr config.active_support.deprecation = :stderr - - # Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets - config.assets.allow_debugging = true end |