From 886372d42ec2055dc42e6c348f09311836d0dce9 Mon Sep 17 00:00:00 2001 From: David Keita Date: Thu, 15 Mar 2012 17:41:19 +0100 Subject: [PATCH] disable that in development environment: Raise exception on mass assignment protection for Active Record models --- config/environments/development.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index b852017..e610a61 100644 --- a/config/environments/development.rb +++ b/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)