]> git.openstreetmap.org Git - rails.git/commitdiff
Disable partial inserts
authorTom Hughes <tom@compton.nu>
Tue, 22 Feb 2022 19:16:10 +0000 (19:16 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 22 Feb 2022 19:16:10 +0000 (19:16 +0000)
config/initializers/new_framework_defaults_7_0.rb

index 4e16b9d49a657b70e7e98c507c86e247ef9bf345..a5edd72ff47776aabec083eafe7e8f5d1eb5275c 100644 (file)
@@ -70,8 +70,8 @@ Rails.application.config.active_record.verify_foreign_keys_for_fixtures = true
 # Disable partial inserts.
 # This default means that all columns will be referenced in INSERT queries
 # regardless of whether they have a default or not.
-Rails.application.config.active_record.partial_inserts = false
-#
+Rails.application.config.active_record.partial_inserts = false
+
 # Protect from open redirect attacks in `redirect_back_or_to` and `redirect_to`.
 # Rails.application.config.action_controller.raise_on_open_redirects = true