I followed this tutorial: https://github.com/plataformatec/devise
Everything works.
I create a new user in the page: email, password, works fine.
I can login with the password and email, I just wanna know where it is saving that, I tried find the sqlite database but I could not find anything.
$sqlite3
sqlite> .databases
seq name file
--- --------------- ----------------------------------------------------------
0 main
I would like know where it is saving the users and passwords?
Why cant I see a database there?
Devise stores its users' info in the Rails database. You can see which database Rails is using by looking at the file PROJECT_ROOT/config/database.yml .
To see the user entries, connect to that database and try the following query: SELECT * FROM users;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.