ruby - Store image in database using rails paperclip plugin -
I have an application that uses the paperclip plugin for image uploads. Now that app should be deployed in the host (Heroko) which has a read-only file system. Can I call a paperclip to store images in a database in some way?
Check this sample app
It looks like you really need it.
HTH
PS: Storing images in DB is usually a bad idea, I bet you can use paperclip with S3 / Cloudfront (as shown below Told in reply)
Comments
Post a Comment