Unable to upload image in production mode of Rails server.
There is messaging section in my app and server is in Rails. For messaging I am using Mailboxer Gem. I want to send Image as message. For Images, I have used Cloudinary to upload images.
Problem is I am not able to upload image in production mode of rails server while everything works fine in Development mode. Even If the images are not uploaded it gives me cloudinary image URL(Don't know from where it comes!).
I have done all the setup as Documented as everything works in Development mode well. Is there any extra variable need to be set to upload image in production mode?
-
Hi Shivani,
Working in a production environment is no different than working in a staging one unless you're using different accounts, then you'll need to update your configuration section accordingly (update the cloud name and keys).
To better understand the issue, please share some more information, including the steps to reproduce the issue, the code responsible for the upload and your cloud name, so we can check your logs. If you rather leave it confidential, please feel free to open a support ticket at support@cloudinary.com.
Post is closed for comments.
Comments
1 comment