comparison 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
comparison
equal deleted inserted replaced
199:ea90c0a58b40 200:2d9d54b960de
55 # Use SQL instead of Active Record's schema dumper when creating the database. 55 # Use SQL instead of Active Record's schema dumper when creating the database.
56 # This is necessary if your schema can't be completely dumped by the schema dumper, 56 # This is necessary if your schema can't be completely dumped by the schema dumper,
57 # like if you have constraints or database-specific column types 57 # like if you have constraints or database-specific column types
58 # config.active_record.schema_format = :sql 58 # config.active_record.schema_format = :sql
59 59
60 # Enforce whitelist mode for mass assignment.
61 # This will create an empty whitelist of attributes available for mass-assignment for all models
62 # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
63 # parameters by using an attr_accessible or attr_protected declaration.
64 config.active_record.whitelist_attributes = true
65
66 # Enable the asset pipeline 60 # Enable the asset pipeline
67 config.assets.enabled = true 61 config.assets.enabled = true
68 62
69 # Version of your assets, change this if you want to expire all your assets 63 # Version of your assets, change this if you want to expire all your assets
70 config.assets.version = '1.0' 64 config.assets.version = '1.0'