fix deprecation warning for `after_rollback`/`after_commit` callbacks
DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks. apply the deprecation fix for ActiveRecord >= 4.2 only
Showing
Please
register
or
sign in
to comment