spec/tmp/config/application.rb in sunrise-cms-0.5.0.rc3 vs spec/tmp/config/application.rb in sunrise-cms-0.5.0.rc4
- old
+ new
@@ -53,8 +53,11 @@
# 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'
+
+ # Disable the default whitelisting that occurs in later versions of Rails
+ config.active_record.whitelist_attributes = false
end
end