ruby on rails - Where does Devise store passwords? -


this question out of own curiosity, assume stores them in user's table, maybe doesn't perhaps isn't secure? if doesn't store in users table go, , if know...why?

thanks :)

devise stores passwords , other data inside table associated model specify during setup. during setup pass model name:

# model placeholder model want use devise, 'user' rails generate devise model 

the generator creates migration alters table associated model. if passed user, users table altered.

have look @ migration files inside devise.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -