You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
lib/paperclip/attachment.rb is coded to allow :styles option to be a Proc, called with self as an argument.
lib/paperclip/storage/s3.rb assumes it is a hash, and doesn't call the Proc with self as an argument. (where it is trying to get style_specific_options in #flush_writes )
Thus, this code fails when trying to evaluate attachment.instance:
Hi @BradRubenstein ! Is this still an issue for you in Paperclip; I know this issue is from approximately 2 years ago. If it is still an issue, can you please provide the code that's causing you the error? Thanks!
Hi @BradRubensteinhttps://github.com/BradRubenstein ! Is this still
an issue for you in Paperclip; I know this issue is from approximately
2 years ago. If it is still an issue, can you please provide the code
that's causing you the error? Thanks!
—
Reply to this email directly or view it on GitHub #1136 (comment).
lib/paperclip/attachment.rb is coded to allow :styles option to be a Proc, called with self as an argument.
lib/paperclip/storage/s3.rb assumes it is a hash, and doesn't call the Proc with self as an argument. (where it is trying to get style_specific_options in #flush_writes )
Thus, this code fails when trying to evaluate attachment.instance:
workaround (assumes I'm not ever using s3_options, s3_metadata etc with styles):
The text was updated successfully, but these errors were encountered: