has_many :through name suggestions
Posted
by
user1084769
on Stack Overflow
See other posts from Stack Overflow
or by user1084769
Published on 2012-06-01T16:37:19Z
Indexed on
2012/06/01
16:40 UTC
Read the original article
Hit count: 191
I have three models, user, achievement, badge and I plan on using has_many :through instead of has_many_and_belongs_to since I will have a few extra fields in the join tables.
According to a Railscast I watched, using this method requires coming up with new model names and not user_badge or user_achievement.
For my User Achievement join what do you think of Accomplishment?
For my User Badge join what do you think of Distinction?
© Stack Overflow or respective owner