Closed ivantsepp closed 8 years ago
Cherry-picked the code change into my master branch (didn't want the version number alteration). A little surprised this gem is still being used though, given the functionality has been in Rails for quite some time! Which version of Rails are you using?
Oh wow, thanks for merging! :smile: Yea, we're still on Rails 2 though we are in the middle of upgrading.
Good luck with the upgrade :)
If there is an exception in a transaction that occurs in after_commit block, we need to call
ROLLBACK
otherwise the connection will be unusable