These are chat archives for mailboxer/mailboxer
I don’t believe there is a way to attach an object to a message. Not formally that is. However, the
send_message method on the
Messageable object returns the receipt for the sender’s message. So you could do something like:
something = SomeObject.new receipt = user.send_message(put, params, here) receipt.message.notified_object = something receipt.save!
I haven’t tested this, but I believe it will work for ya.