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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
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.
This topic is locked and can not be replied to.