User's attributes depend on user's type: best way to implement in Rails
问题 I have a user with basic infos and activity specific infos. Let's say User is a Footballer, its profile will look like : User.rb #common infos firstname lastname email sex address_id Footballer.rb #or something accurate position team age weight shoe_size ... However, if the user is as Boxer, its profile will be composed of : #User.rb #same as footballer firstname lastname email sex address_id avatar #Boxer.rb weight handicap league ... What would be the best way to integrate this logic in