Skip to content

Prevent to try and update the index on destroy for ActiveRecord#10

Open
such wants to merge 1 commit intoEvilFaeton:masterfrom
idolweb:prevent-update-on-destroy
Open

Prevent to try and update the index on destroy for ActiveRecord#10
such wants to merge 1 commit intoEvilFaeton:masterfrom
idolweb:prevent-update-on-destroy

Conversation

@such
Copy link
Copy Markdown

@such such commented Feb 20, 2014

Destroying an ActiveRecord object enqueues two jobs : a delete job triggered by before_destroy and an update job triggered by after_commit. This is not expected.

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.

1 participant