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

create_admin_service.rb causes rake to fail because the confirm! method was removed from the Devise gem #11

Open
tomelam opened this issue Jan 7, 2017 · 1 comment

Comments

@tomelam
Copy link

tomelam commented Jan 7, 2017

See [the Devise changelog].(https://github.com/plataformatec/devise/blob/88724e10adaf9ffd1d8dbfbaadda2b9d40de756a/CHANGELOG.md)

Rails Composer encounters this error when the rails-devise example app and its confirmable module are chosen:
/Users/tom/.rvm/gems/ruby-2.3.3@rails426/gems/activemodel-4.2.6/lib/active_model/attribute_methods.rb:433:in `method_missing'
/Users/tom/Sites/mashweb.rails426-email-confirmable/app/services/create_admin_service.rb:6:in `block in call'
/Users/tom/.rvm/gems/ruby-2.3.3@rails426/gems/activerecord-4.2.6/lib/active_record/core.rb:283:in 'initialize'
/Users/tom/.rvm/gems/ruby-2.3.3@rails426/gems/devise-4.2.0/lib/devise/models/confirmable.rb:63:in 'initialize'

@tomelam
Copy link
Author

tomelam commented Jan 8, 2017

I should have just linked to the changelog in master.

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

1 participant