diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/application.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/application.rb b/config/application.rb index ba0da4b..e2cea6b 100644 --- a/config/application.rb +++ b/config/application.rb @@ -45,14 +45,12 @@ module GitlabCi # This will create an empty whitelist of attributes available for mass-assignment for all models # in your app. As such, your models will need to explicitly whitelist or blacklist accessible # parameters by using an attr_accessible or attr_protected declaration. - config.active_record.whitelist_attributes = true + config.active_record.whitelist_attributes = false # Enable the asset pipeline config.assets.enabled = true # Version of your assets, change this if you want to expire all your assets config.assets.version = '1.0' - - config.active_record.whitelist_attributes = false end end |