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

Update docs for devise install #1579

Open
cenotaph opened this issue Feb 21, 2023 · 1 comment
Open

Update docs for devise install #1579

cenotaph opened this issue Feb 21, 2023 · 1 comment

Comments

@cenotaph
Copy link

Following the gitbook docs, for a Rails 7.0.2.4 API-only app with devise_token_auth 1.2.1 and devise 4.9.0, without running rails generate devise:install before rails g devise_token_auth:install User auth, then attempting to migrate the db or do anything will result in the error:

NoMethodError: undefined method `devise' for User:Class

Whatever devise:install does, it seems to be needed so it might be good to add that atop the 'Configuration' page on the gitbook docs.

Thanks for making and maintaining a great gem!

@Samuelodan
Copy link

Sadly, this hasn't been implemented till now. Thanks for pointing it out.

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