Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add option to stop swallowing errors on callbacks. #16537
Seconds take of #14488 .
After the transaction refactor, we can cleanly apply this patch, as we have a better control of the stack of transactions, and we know that even when raising errors, the transaction wont leaky into the stack.
Add option to stop swallowing standard errors on
# For not swallow errors in after_commit/after_rollback callbacks. config.active_record.errors_in_transactional_callbacks = true
The option should be removed in future versions of Rails, as the desired
referenced this pull request
Aug 18, 2014
@chancancode I guess I addressed all your concerns: