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

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -