Answer the question
In order to leave comments, you need to log in
Model communication in Rails, how to check communication?
If there are 2 models, how to display information from both sources?
If, for example, there is a Teacher model that has its own subject and there may be several Lessons. How to bring teachers out with their subjects?
Answer the question
In order to leave comments, you need to log in
In the controller serving the view of both models, you need to access these models and write them to instance variables.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question