Skip to content
New issue

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

:unconfirmed_email missing from model generator #25

Open
mattfiocca opened this issue Jul 3, 2016 · 1 comment
Open

:unconfirmed_email missing from model generator #25

mattfiocca opened this issue Jul 3, 2016 · 1 comment

Comments

@mattfiocca
Copy link

I'm playing around with the devise module :confirmable, and noticed that the ## Confirmable block that is commented out in the generated user model is missing the property :unconfirmed_email, type: String, which is required I think when using the module.

I'm just curious if that was intentional or not.

Thanks!

@cheerfulstoic
Copy link
Contributor

I think that we just copied the structure from the Mongoid generator here:

https://github.com/plataformatec/devise/blob/master/lib/generators/mongoid/devise_generator.rb

I'm not sure why they have it commented out, though ;) Do you think that it seems reasonable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants