]> git.openstreetmap.org Git - rails.git/blobdiff - config/application.rb
Turn on mass assignment protection
[rails.git] / config / application.rb
index c85f47884a2142b7171edc96563457d16752b655..25df04b448683afaee2c4214e6774be87e785217 100644 (file)
@@ -62,7 +62,7 @@ module OpenStreetMap
     # 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.
     # 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 = true
 
     # Enable the asset pipeline
     config.assets.enabled = true
 
     # Enable the asset pipeline
     config.assets.enabled = true