Hi guys, I'm wondering how I can preview Mailboxer emails using Rails' email preview functionality? I'm not too sure on how to handle this. :)
# spec/mailers/previews/devise/mailer_preview.rb
class Devise::MailerPreview < ActionMailer::Preview
def confirmation_instructions
Devise::Mailer.confirmation_instructions(User.first, "faketoken")
end
def reset_password_instructions
Devise::Mailer.reset_password_instructions(User.first, "faketoken")
end
end
^ this would be how I would do it with Devise
Hello, my name is Liora and I am currently hunting open source projects for company NeuraLegion (www.neuralegion.com)
We just launched a free annual subscription for open source projects for our AIAST tool NexPloit.
If you are interested, please, reach us on opensource@neuralegion.com!
Thank you for your time and consideration! If you have any questions, please do not hesitate to contact us!
Best!
Hey mailboxers! im setting things up but running into a snag...
I am getting:Invalid single-table inheritance type: Mailboxer::Message is not a subclass of Mailboxer::Message
when ever i call:receipts
or conversations
see that the type of the message is being set to Mailboxer::Message
automagically...what am I missing?