# HG changeset patch # User Nattee Niparnan # Date 2017-06-22 09:37:30 # Node ID b90654c50456704e2eb9a980342a0acfc6ae0255 # Parent 50e8e6077bb9de59ce237d9955d4b333accde1fb remove whitelist attribute from default config diff --git a/config/application.rb.SAMPLE b/config/application.rb.SAMPLE --- a/config/application.rb.SAMPLE +++ b/config/application.rb.SAMPLE @@ -47,12 +47,6 @@ # 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 = false - # Enable the asset pipeline config.assets.enabled = true