From 01d041af9db5123c09ecb2c7dd7263c867d04c89 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Thu, 19 Jan 2012 23:12:05 +0530 Subject: update the getting_started guide code [ci skip] --- railties/guides/code/getting_started/config/environments/test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'railties/guides/code/getting_started/config/environments/test.rb') diff --git a/railties/guides/code/getting_started/config/environments/test.rb b/railties/guides/code/getting_started/config/environments/test.rb index 1d45541d5c..e97f82c6bd 100644 --- a/railties/guides/code/getting_started/config/environments/test.rb +++ b/railties/guides/code/getting_started/config/environments/test.rb @@ -26,9 +26,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 -- cgit v1.2.3