From 1dab15940db4c77ac23f49ece7eee2847d4614aa Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 26 Jun 2014 14:30:07 +0300 Subject: Remove protected_atrributes gem and start moving to strong params Signed-off-by: Dmitriy Zaporozhets --- config/application.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'config/application.rb') diff --git a/config/application.rb b/config/application.rb index 0a77f58f6d1..58a5949c653 100644 --- a/config/application.rb +++ b/config/application.rb @@ -41,12 +41,6 @@ module Gitlab # like if you have constraints or database-specific column types # config.active_record.schema_format = :sql - # Enforce whitelist mode for mass assignment. - # 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 - # Enable the asset pipeline config.assets.enabled = true config.assets.paths << Emoji.images_path -- cgit v1.2.1