Rails 7.1 Active Record Transaction on return, break and throw
Oct 9, 2023 · 2 min read · In the latest Rails, a significant change has been made to the behaviour of transactions. Specifically, using return, break, or throw statements will no longer trigger an automatic rollback of the transaction. In Rails 6.1 use of return, break, and t...
Join discussion