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

Delayed Job fails if original object soft-deleted #946

Closed
aperkins81 opened this issue Oct 13, 2016 · 0 comments
Closed

Delayed Job fails if original object soft-deleted #946

aperkins81 opened this issue Oct 13, 2016 · 0 comments

Comments

@aperkins81
Copy link

Fails with:
ActiveRecord::RecordNotFound, class: User, primary key: 15 ...
...psych_ext.rb:42:in `rescue in visit_Psych_Nodes_Mapping'

Only an issue if you have a deleted_at or is_deleted column with a default scope.

Solution: psych_ext.rb line 40 be changed to line 53 (add an unscoped) ... pr on its way

albus522 added a commit that referenced this issue Mar 31, 2017
Fixes #946 - Delayed Job fails if original object soft-deleted
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

No branches or pull requests

1 participant