DEV Community

Discussion on: Adding Authentication to a Rails Web App. The Devise Gem.

Collapse
 
sturpin profile image
Sergio TurpĆ­n

Good post Sara!! šŸ‘Œ
When you don't set the model name, devise set User ?
I say it because I use:

$ rails g devise User

You tell me šŸ˜Š

Collapse
 
saradotlog profile image
Sara LoG

Thanks!
You have to specify the name of the model (User, Admin...). Good catch! I will edit it now. Thank you!

Collapse
 
sturpin profile image
Sergio TurpĆ­n

You're welcome!!
If I don't write a post it's because I know I would make a thousand and one mistakes hahaha
I want more RoR post! :P

Kind regards friend Sara ;)

Thread Thread
 
saradotlog profile image
Sara LoG

There is nothing wrong with making mistakes, we are humans! šŸ˜‰ Besides, they are the best way to learn šŸ™‚