Before starting, I use Ruby on Rails and the Devise gem to authenticate users.
Hi, I did some research on account security, and a while ago I found a blog post about this topic, but I can no longer find it. I read something about the fact that when creating the login system you should have 1 model for the user, it contains the username, encrypted password and email. You must also have a model for the user account. It contains everything else. The user has an account.
I don’t know if I’ll explain it correctly, since I have not seen the blog post for several months, and I lost the bookmark.
Can someone explain how and why I should or should not do this. My application deals with money, so I need to protect my bases.
Thank.
source
share