05 Jan 2015
We have a rails project which sends email in sidekiq job, it's working well until it's deployed to production server, we found images in email are all not found.
The problem is we have 2 servers on production, app and db, we
precompile assets on app server but run sidekiq on db server, then we
image_tag in mailer view, it generates image path as
/assets/user.png but app server doesn't recognize such asset path, it
expects image path as
Why ...Read More