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
I'm trying to work through an issue where Paperclip Meta is storing the styles with strings rather than symbols for keys. Although I can't work out why this is happening, I think it would make sense to accept both symbols and keys as arguments to attachment.image_size as this would be consistent with the way Paperclip handles arguments to attachment.url.
At present, only strings will work if the keys are strings and only symbols will work if the keys are symbols. I think it would make sense to be able to do:
I'm trying to work through an issue where Paperclip Meta is storing the styles with strings rather than symbols for keys. Although I can't work out why this is happening, I think it would make sense to accept both symbols and keys as arguments to
attachment.image_size
as this would be consistent with the way Paperclip handles arguments toattachment.url
.At present, only strings will work if the keys are strings and only symbols will work if the keys are symbols. I think it would make sense to be able to do:
The text was updated successfully, but these errors were encountered: