All Questions
1 question
1
vote
1
answer
1k
views
How to properly implement an association of two models/objects via the seeds.rb in Rails?
So, here is the deal: I have two models, a Player and a Team. Every team has_many players and every player belongs_to a team. The code (omitting a few unnecessary atributes from the player model):
...