Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update callbacks in README #2449

Merged
merged 1 commit into from
Feb 24, 2020
Merged

Update callbacks in README #2449

merged 1 commit into from
Feb 24, 2020

Conversation

brucebolt
Copy link
Contributor

The callbacks listed in the README were in a different order to the application code 1. There was also an after_save which has been changed to an after_commit 2 (albeit only on create or update), which should therefore have the same behaviour but will execute at a different time to an after_save.

The callbacks listed in the README were in a different order to the
application code [1].  There was also an after_save which has been
changed to an after_commit [2] (albeit only on create or update), which
should therefore have the same behaviour but will execute at a different
time to an after_save.

[1]: https://github.com/carrierwaveuploader/carrierwave/blob/d12a289d9cdd68d26d3900cf7f1e4e879678d16b/lib/carrierwave/orm/activerecord.rb#L59-L64
[2]: 665f225
@mshibuya mshibuya merged commit d41ad71 into carrierwaveuploader:master Feb 24, 2020
@mshibuya
Copy link
Member

Thanks 👍

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