mikker / passwordless

🗝 Authentication for your Rails app without the icky-ness of passwords
MIT License
1.26k stars 87 forks source link

Initializing parent_mailer #87

Closed djolereject closed 4 years ago

djolereject commented 4 years ago

I simply copied your example and got an error. This line in initalizer:

Passwordless.parent_mailer = "ActionMailer::Base"

is producing this error:

 undefined method `parent_mailer=' for Passwordless:Module (NoMethodError)
Did you mean?  parent_name

Any idea what could be wrong there?

xdmx commented 4 years ago

@djolereject it's not been released yet, to use it in the meantime you can fetch the current code from the repository like: gem "passwordless", github: "mikker/passwordless"

@mikker it'd be nice to have a new version for this :smile:

djolereject commented 4 years ago

Thank you!