Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…gnment protection for Active Record models
  • Loading branch information...
commit 886372d42ec2055dc42e6c348f09311836d0dce9 1 parent 48e59f8
@maninga authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/environments/development.rb
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.