You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: