I m having some thoughts about proper building my app and provide a good and consistent API for it but now I m having some doubts about the user/accounts model.
It s funny but if you consider some apps you will see that they treat you like user but when editing your details your are redirect to account.
One good example of this is twitter.
So I would like to know your opinion about what s the best method to build this kind of architecture?
Is the account really necessary?
Why should I use account or user?
If I decide to implement a payment instruction for that user later, should that user store that information inside a account which stores his password and other important information?
sorry but I m kind of lost on this subject sometimes it looks that other apps use more models than the necessary, so I m not sure :(
I was thinking I m have to associated models like this:
User has_one :account
But I still not sure what kind of information goes into the User and Account.
Thanks in advance for you help
Cheers