Permalink
Browse files

fixing whitelist config in episode 353

  • Loading branch information...
1 parent 006316e commit 39f6d04c79d81ccfc9a75500b7fb26d08eecf2dc @ryanb committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 episode-353/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 39f6d04

Please sign in to comment.