changeset 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 2d9d54b960de
children d4cf49db9c49
files config/environments/development.rb config/environments/test.rb
diffstat 2 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/config/environments/development.rb	Wed May 08 00:10:12 2013 +0900
+++ b/config/environments/development.rb	Wed May 08 00:18:36 2013 +0900
@@ -19,9 +19,6 @@
   # Only use best-standards-support built into browsers
   config.action_dispatch.best_standards_support = :builtin
 
-  # Raise exception on mass assignment protection for Active Record models
-  config.active_record.mass_assignment_sanitizer = :strict
-
   # Do not compress assets
   config.assets.compress = false
 
--- a/config/environments/test.rb	Wed May 08 00:10:12 2013 +0900
+++ b/config/environments/test.rb	Wed May 08 00:18:36 2013 +0900
@@ -26,9 +26,6 @@
   # 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