I'm using Mandrill as Inbound email routing and I'm using those gems to receive emails and save it in a database.
How can I save the attachments in separated database table "Attachments
" using paperclip.
I'm using Mandrill as Inbound email routing and I'm using those gems to receive emails and save it in a database.
How can I save the attachments in separated database table "Attachments
" using paperclip.
Copyright © 2021 Jogjafile Inc.
Griddler::Email
has anattachments
attribute, which is:So, if you have a model like this:
You would simply do, for example: