spec/dummy/config/environments/spec.rb in compass_ae_console-1.0.4 vs spec/dummy/config/environments/spec.rb in compass_ae_console-2.0.0
- old
+ new
@@ -1,7 +1,10 @@
Dummy::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
+ # Raise exception on mass assignment protection for Active Record models
+ config.active_record.mass_assignment_sanitizer = :strict
+
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false