Store image in database using rails paperclip plugin

前端 未结 4 755
南旧
南旧 2021-01-05 15:14

I have an application that uses the Paperclip plugin for image upload. Now that app should get deployed to an host(heroku) which has a read-only file system. Can I somehow t

4条回答
  •  醉梦人生
    2021-01-05 15:31

    Heroku recommends storing file uploads on s3, and provides instructions on how to do so for several Rails file plugins.

提交回复
热议问题