Skip to content

1.4.0: Prepending callbacks support

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 07 Feb 03:53
v1.4.0
2d72c71

Added

  • Ability to prepend callbacks to the head of callback queue using prepend: true option.

    AfterCommitEverywhere.after_commit { puts "I'm second!" }
    AfterCommitEverywhere.after_commit(prepend: true) { puts "I'm first!" }

    See Pull request #30 by [@quentindemetz][] and [@A1090][].