./test/dummy/config/environments/development.rb in umlaut-3.0.0alpha8 vs ./test/dummy/config/environments/development.rb in umlaut-3.0.0alpha9
- old
+ new
@@ -29,6 +29,15 @@
# Do not compress assets
config.assets.compress = false
# Expands the lines which load the assets
config.assets.debug = true
+
+ # Raise exception on mass assignment protection for Active Record models
+ config.active_record.mass_assignment_sanitizer = :strict
+
+ # Log the query plan for queries taking more than this (works
+ # with SQLite, MySQL, and PostgreSQL)
+ # This seems to not work right in multi-threaded AR use as we're doing,
+ # leave off, at least for now.
+ #config.active_record.auto_explain_threshold_in_seconds = 0.5
end