diff config/application.rb @ 200:2d9d54b960de

Forgot to remove the whitelist config
author Edho Arief <edho@myconan.net>
date Wed, 08 May 2013 00:10:12 +0900
parents cb30b72e8ded
children 207853e26088
line wrap: on
line diff
--- a/config/application.rb	Wed May 08 00:09:42 2013 +0900
+++ b/config/application.rb	Wed May 08 00:10:12 2013 +0900
@@ -57,12 +57,6 @@
     # like if you have constraints or database-specific column types
     # config.active_record.schema_format = :sql
 
-    # Enforce whitelist mode for mass assignment.
-    # This will create an empty whitelist of attributes available for mass-assignment for all models
-    # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
-    # parameters by using an attr_accessible or attr_protected declaration.
-    config.active_record.whitelist_attributes = true
-
     # Enable the asset pipeline
     config.assets.enabled = true