We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.3.1 :005 > po.send_message(pm, "body", "subject") WARNING: Can't mass-assign protected attributes for Mailboxer::Receipt: receiver , mailbox_type
WARNING: Can't mass-assign protected attributes for Mailboxer::Receipt: receiver , mailbox_type
=> #<Mailboxer::Receipt id: nil, receiver_id: nil, receiver_type: nil, notifica tion_id: nil, is_read: true, trashed: false, deleted: false, mailbox_type: nil, created_at: nil, updated_at: nil, is_delivered: false, delivery_method: nil, mes sage_id: nil>
The text was updated successfully, but these errors were encountered:
I'm seeing the same issue after updating to Rails 4.2.7, using mailboxer 0.14.0
Sorry, something went wrong.
I'm also getting this problem after upgrading.
I've added the following to mailboxer initialiser as a workaround:
Mailboxer::Receipt.class_eval do attr_accessible :receiver, :mailbox_type end
Thanks @JustinasDaugela
No branches or pull requests
2.3.1 :005 > po.send_message(pm, "body", "subject")
WARNING: Can't mass-assign protected attributes for Mailboxer::Receipt: receiver
, mailbox_type
WARNING: Can't mass-assign protected attributes for Mailboxer::Receipt: receiver
, mailbox_type
=> #<Mailboxer::Receipt id: nil, receiver_id: nil, receiver_type: nil, notifica
tion_id: nil, is_read: true, trashed: false, deleted: false, mailbox_type: nil,
created_at: nil, updated_at: nil, is_delivered: false, delivery_method: nil, mes
sage_id: nil>
The text was updated successfully, but these errors were encountered: