Attachments not deleting (S3)
Reported by Mark Dodwell | August 7th, 2008 @ 01:02 PM
Not sure if this is the same problem as in ticket #28 (sorry if it is), but I'm getting a:
undefined local variable or method `style' for #<Paperclip::Attachment:...>
error when removing attachments that are on S3.
I think the problem comes from Storage#S3#flushdeletes. A 'style' argument is passed to path, which is not the case for Storage#Filesystem#flushdeletes.
Removing the 'style' argument from path fixes this problem (for me at least).
Patch attached.
Comments and changes to this ticket
-
Jon Yurek August 13th, 2008 @ 06:01 PM
- → State changed from new to duplicate
Thanks for the patch. It's applied, since the other one was identical. I'm not sure this is related to #28, but for now I assume it is. Thanks.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
