Trying to use cl_image_tag in a simple Rails view, and getting:
undefined local variable or method `cl_image_tag' for main:Object
From the rails console, I can do helper.cl_image_tag and the appropriate arguments and get a well-formed HTML image tag back with the correct Cloudinary URL. (Using cl_image_tag by itself in the console produces the same error, even after using include ActionView::Helpers)
I know the gem was installed correctly, as I have a function that uses the Uploader and that works just fine.
Please sign in to leave a comment.