-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
After bundle update, carrier wave stopped uploading images from remote url api #2411
Comments
Full stack trace please. |
same! |
i downgraded to last version to make it work in production! but this is was not going. |
I need details to track down the issue, what did you do and what happened? How does your code look like and how was the whole stack trace of the error? |
i am using carrier wave with the API , once i use remote_image_url, it throws weird error with latest version!
|
@mshibuya i dont have stack trace now, because it was happening on heroku and production! i had to update it quickly without having complaints! but i mentioned how to regenerate it! |
In my case,
occurred at when the remote image response header includes [1] pry(main)> match = 'content-disposition: inline;filename=""'.match(/filename=(?:"([^"]+)"|([^";]+))/)
=> nil
[2] pry(main)> match[1].presence || match[2].presence
NoMethodError: undefined method `[]' for nil:NilClass trace:
|
Fixed by #2419. |
NoMethodError: undefined method `[]' for nil:NilClass
The text was updated successfully, but these errors were encountered: