Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement multiple attachments to messages? #467

Open
ditanand opened this issue Aug 3, 2017 · 0 comments
Open

How to implement multiple attachments to messages? #467

ditanand opened this issue Aug 3, 2017 · 0 comments

Comments

@ditanand
Copy link

ditanand commented Aug 3, 2017

I am using the Mailboxer gem.

What is the best way to set up my controller so it saves all the attachments? (loop through it?)

Would making a new model called "message_attachment" be a good idea? In that case, how do I set up the message model (which I currently don't have in my model folder) so I can include "has_many :message_attachments"? please provide me a solution or a sample code
thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant