Mercurial > zeropaste
changeset 200:2d9d54b960de
Forgot to remove the whitelist config
author | Edho Arief <edho@myconan.net> |
---|---|
date | Wed, 08 May 2013 00:10:12 +0900 |
parents | ea90c0a58b40 |
children | 681bfba39449 |
files | config/application.rb |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
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