On Wednesday, 25 June 2014 00:58:15 UTC-5, Duong vong veasna wrote:
i have install successfully ImageMagick in my pc.
in the gemgile i’m use gem ‘rmagick’, require => ‘RMagick’
infect it work properly in localhost, but when i upload myapp into heroku
it doesn’t show the record that i have been enter in localhost.
Your Heroku app has a separate database. Check out
heroku pg:push and
) to learn about how to move data between your local database and the
and one more when i input on heroku web server it work, but next day i
visit it again it doesn’t show image.
This sounds like you’re saving uploaded images to the Heroku filesystem.
This is NOT guaranteed to be preserved when your dyno sleeps. You’ll
to look into using something external like S3 to store files.