diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-26 11:17:17 -0700 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-26 11:18:35 -0700 |
commit | 83efcabc829083f11553df0f1eb67a8fbbc3e000 (patch) | |
tree | 2017dc24ab9630ad9a227dffde27550ededcc92f /config/environments/test.rb | |
parent | 4629cc44d6b7fa7ebdec8ce47bb0825e255d7763 (diff) | |
download | gitlab-ce-83efcabc829083f11553df0f1eb67a8fbbc3e000.tar.gz |
set activerecord whitelist_attributes to true
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r-- | config/environments/test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index 1e7765d9719..f5816e42b7f 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -34,6 +34,9 @@ Gitlab::Application.configure do # like if you have constraints or database-specific column types # config.active_record.schema_format = :sql + # Raise exception on mass assignment protection for Active Record models + # config.active_record.mass_assignment_sanitizer = :strict + # Print deprecation notices to the stderr config.active_support.deprecation = :stderr |