comparison config/environments/test.rb @ 201:681bfba39449

Hopefully the last bit of mass assignment update.
author Edho Arief <edho@myconan.net>
date Wed, 08 May 2013 00:18:36 +0900
parents f513b1ca455a
children d4cf49db9c49
comparison
equal deleted inserted replaced
200:2d9d54b960de 201:681bfba39449
24 # Tell Action Mailer not to deliver emails to the real world. 24 # Tell Action Mailer not to deliver emails to the real world.
25 # The :test delivery method accumulates sent emails in the 25 # The :test delivery method accumulates sent emails in the
26 # ActionMailer::Base.deliveries array. 26 # ActionMailer::Base.deliveries array.
27 config.action_mailer.delivery_method = :test 27 config.action_mailer.delivery_method = :test
28 28
29 # Raise exception on mass assignment protection for Active Record models
30 config.active_record.mass_assignment_sanitizer = :strict
31
32 # Print deprecation notices to the stderr 29 # Print deprecation notices to the stderr
33 config.active_support.deprecation = :stderr 30 config.active_support.deprecation = :stderr
34 31
35 config.eager_load = false 32 config.eager_load = false
36 end 33 end