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

Avoid queuing jobs that have been marked for deletion #19

Merged

Commits on Oct 26, 2010

  1. avoid queueing job when the attachment has been marked for deletion

    When deleting a record that has_attached_file, paperclip temporarily
    sets all paperclip attributes to nil until the deletion is complete.
    
    However, this triggers the :after_save callback and erroneously queues
    a job that can never be completed since the record will no longer exist.
    guns committed Oct 26, 2010
    Copy the full SHA
    3ebf454 View commit details
    Browse the repository at this point in the history