]> git.openstreetmap.org Git - rails.git/commitdiff
Commit transactions exited by return, break or throw
authorTom Hughes <tom@compton.nu>
Fri, 27 Oct 2023 16:42:23 +0000 (17:42 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 27 Oct 2023 16:42:23 +0000 (17:42 +0100)
config/initializers/new_framework_defaults_7_1.rb

index 8ff1fa9ad88702b33ed60c8ab08447d3a834c296..25af2fbf8891f3d47d4dff8d59842df2f296b4e2 100644 (file)
@@ -170,7 +170,7 @@ Rails.application.config.active_record.run_after_transaction_callbacks_in_order_
 
 # Whether a `transaction` block is committed or rolled back when exited via `return`, `break` or `throw`.
 #
-Rails.application.config.active_record.commit_transaction_on_non_local_return = true
+Rails.application.config.active_record.commit_transaction_on_non_local_return = true
 
 # Controls when to generate a value for <tt>has_secure_token</tt> declarations.
 #