Permalink
Browse files

fixing whitelist config

  • Loading branch information...
1 parent 94190f9 commit 1978fab16212be1df2ff8a47e05f821699f963e3 @ryanb ryanb committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 todo-after/config/application.rb
@@ -48,7 +48,7 @@ class Application < Rails::Application
# 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
+ config.active_record.whitelist_attributes = false
# Enable the asset pipeline
config.assets.enabled = true

0 comments on commit 1978fab

Please sign in to comment.