Skip to content

Commit

Permalink
disable that in development environment: Raise exception on mass assi…
Browse files Browse the repository at this point in the history
…gnment protection for Active Record models
  • Loading branch information
maninga committed Mar 15, 2012
1 parent 48e59f8 commit 886372d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Expand Up @@ -23,7 +23,7 @@
config.action_dispatch.best_standards_support = :builtin config.action_dispatch.best_standards_support = :builtin


# Raise exception on mass assignment protection for Active Record models # 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 # Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL) # with SQLite, MySQL, and PostgreSQL)
Expand Down

0 comments on commit 886372d

Please sign in to comment.