Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing whitelist config in episode 353

  • Loading branch information...
commit 39f6d04c79d81ccfc9a75500b7fb26d08eecf2dc 1 parent 006316e
@ryanb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  episode-353/todo-after/config/application.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.