I am new to cloudinary. I try to have it work in RoR with carrierwave
I have set a public_id in my Uploader:
dir_to_upload + Cloudinary::Utils.random_public_id + '.png'
baserep = ''
if Rails.env.development? then
baserep = '/dev_' + Socket.gethostname
baserep + '/user_items/' + model.user_id.to_s + '/'
nothing fancy I just want to have the files stored in a specific folder.
In development when I run my debug, everithing works fine for the file upload, but when I user image_tag or cl_image_tag or cloudinary_url in my view, I only get the public_id and not the full url of the image on Cloudinary servers
Am I missing something ?
Please sign in to leave a comment.