Skip to content

Conversation

pelargir
Copy link

@pelargir pelargir commented Nov 7, 2019

Rails 5 adds after_{create,update,delete}_commit callback aliases. See:
https://blog.bigbinary.com/2016/05/11/rails-5-adds-after_create-aliases.html

This PR makes these callbacks available in observers. Includes tests to verify the callbacks were added properly. This also maintains backwards compatibility with Rails 4.

Rails 5 adds after_{create,update,delete}_commit callback aliases. This
commit makes these callbacks available in observers.
@cprodhomme
Copy link
Contributor

need this 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants