-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
I got this deprecation warning when executed DoubleEntry::Validation::LineCheck.perform!
DEPRECATION WARNING: Using `return`, `break` or `throw` to exit a transaction block is
deprecated without replacement. If the `throw` came from
`Timeout.timeout(duration)`, pass an exception class as a second
argument so it doesn't use `throw` to abort its block. This results
in the transaction being committed, but in the next release of Rails
it will raise and rollback.
(called from restartable_transaction at lib/ruby/gems/2.5.0/bundler/gems/double_entry-4ee0d7f9707a/lib/active_record/locking_extensions.rb:10)
| transaction(&block) |
I use newest rails
Metadata
Metadata
Assignees
Labels
No labels