E
E
eldar_web2015-05-26 18:35:19
Ruby on Rails
eldar_web, 2015-05-26 18:35:19

What connection can be created in Rails in this case2?

Here is a description of the question: What kind of connection can be created in Rails in this case? and answer. But the answer doesn't work. Are there options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kkrieger, 2015-05-27
@kkrieger

Maybe has_and_belongs_to_many ?
A boss can have multiple assistants and assistants can have multiple bosses.
Read more rusrails.ru/active-record-associations#svyaz-has_a...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question