We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This was't throwing an exception before the cloudinary gem was installed. In this case the reference is resolving to nil.
<% image_tag( some_ref.try(:to_s) ) %>
/gems/cloudinary-1.0.12/lib/cloudinary/utils.rb:66:in cloudinary_url' /gems/cloudinary-1.0.12/lib/cloudinary/helper.rb:118:incloudinary_url' /gems/cloudinary-1.0.12/lib/cloudinary/helper.rb:12:in cl_image_tag' /gems/cloudinary-1.0.12/lib/cloudinary/helper.rb:29:inimage_tag' app/views/tour_books/_client_form.html.erb:10:in `block in _app_views_tour_books__client_form_html_erb___1659920891812517767_82968620'
cloudinary_url' /gems/cloudinary-1.0.12/lib/cloudinary/helper.rb:118:in
cl_image_tag' /gems/cloudinary-1.0.12/lib/cloudinary/helper.rb:29:in
The text was updated successfully, but these errors were encountered:
Solve issue #11 - nil input to image_tag throws exception
878d7b2
Fixed in the latest released GEM (v1.0.16)
Sorry, something went wrong.
No branches or pull requests
This was't throwing an exception before the cloudinary gem was installed. In this case the reference is resolving to nil.
<% image_tag( some_ref.try(:to_s) ) %>
/gems/cloudinary-1.0.12/lib/cloudinary/utils.rb:66:in
cloudinary_url' /gems/cloudinary-1.0.12/lib/cloudinary/helper.rb:118:in
cloudinary_url'/gems/cloudinary-1.0.12/lib/cloudinary/helper.rb:12:in
cl_image_tag' /gems/cloudinary-1.0.12/lib/cloudinary/helper.rb:29:in
image_tag'app/views/tour_books/_client_form.html.erb:10:in `block in _app_views_tour_books__client_form_html_erb___1659920891812517767_82968620'
The text was updated successfully, but these errors were encountered: