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

Devise Setup typo #2

Closed
maria-kravtsova opened this issue Apr 7, 2019 · 1 comment
Closed

Devise Setup typo #2

maria-kravtsova opened this issue Apr 7, 2019 · 1 comment

Comments

@maria-kravtsova
Copy link

Here:
Screen Shot 2019-04-07 at 3 48 54 PM

I believe it creates the table users so this line:

add_index :user, :username, unique: true
should be:

add_index :users, :username, unique: true

At least it worked for me.

Thank you for writing the tutorial, it's very helpful so far.

@iridakos
Copy link
Owner

iridakos commented Apr 7, 2019

Hi @maria-kravtsova,

You are absolutely right, I just fixed that.

Thank you very much for pointing it out!

@iridakos iridakos closed this as completed Apr 7, 2019
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