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

Comments

Projects
None yet
2 participants
@maria-kravtsova
Copy link

maria-kravtsova commented Apr 7, 2019

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

This comment has been minimized.

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 Apr 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.