Permalink
Browse files

disable that in development environment: Raise exception on mass assi…

…gnment protection for Active Record models
  • Loading branch information...
1 parent 48e59f8 commit 886372d42ec2055dc42e6c348f09311836d0dce9 @maninga committed Mar 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/environments/development.rb
@@ -23,7 +23,7 @@
config.action_dispatch.best_standards_support = :builtin
# Raise exception on mass assignment protection for Active Record models
- config.active_record.mass_assignment_sanitizer = :strict
+ #config.active_record.mass_assignment_sanitizer = :strict
# Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL)

0 comments on commit 886372d

Please sign in to comment.