diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 14:30:07 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 14:30:07 +0300 |
commit | 1dab15940db4c77ac23f49ece7eee2847d4614aa (patch) | |
tree | c786ef9b9605e487aff180c2baab94b36ebe5835 /config/application.rb | |
parent | 024e0577c6b6ded30ee09536082bd24405bda1e5 (diff) | |
download | gitlab-ce-1dab15940db4c77ac23f49ece7eee2847d4614aa.tar.gz |
Remove protected_atrributes gem and start moving to strong params
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 6 |
1 files changed, 0 insertions, 6 deletions
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 |