Skip to content

1.1.0: Allow to call transaction callbacks directly

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Aug 19:48
v1.1.0
ebfbbc4

Added

  • Allow to call transactional callbacks directly on AfterCommitEverywhere module:

    AfterCommitEverywhere.after_commit { puts "If you see me then transaction has been successfully commited!" }
  • Allow to call in_transaction? helper method from instance methods in classes that includes AfterCommitEverywhere module.