My rails app has a user model that has a HABTM relationship with interests and holidays. Both of these (interests and holidays) only have one attribute that needs to be edited and related to the user. This is setup and working fine.
I need to create a new model called friend_birthday thats contains information regarding the birthdays of the users friends (and their respective interests). This model (friend_birthday) needs to have several attributes ( :name, :gender, :dob, and :interests).
I was thinking on using a has_many/belongs_to for this one. User has many friends_birthdays and friends_birthdays belongs_to a user.
Does this sound right? How could i implement this?
Thanks!!!!
Yes this sounds right, but i think it is better to name model Friend
Ofc if friends are not users)) just RL friends