Forum: Ruby on Rails User model inherit Seller model or vice versa?

5d04aa1009aa052cd3e71839a565e251?d=identicon&s=25 Brandon (Guest)
on 2014-03-02 12:10
(Received via mailing list)
So all Sellers are Users, Users can be Sellers in this marketplace

Should Seller be on top and inherit to User or the other way round?

I found it weird when doing a Session login, I've to call
*Seller.has_sold?* even
though all they are all Users to begin with, but I can't call
*User.has_sold?* since the method is not in User.rb.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.