Topic: RoR Association Question
Lets say that I have 3 models: Student, Exam, Questions
Student has_one :Exam
Exam has_many :Questions
Should I nest the Questions under Exam or should I put it under Student?
If I nest the Questions under Exam (2 nests) how do I create the object, if I nest it under Student it is
@question = @student.build_question
Also I keep getting confuse over if the method should be in the controller vs inside the model.
Sorry about asking so much questions, I tried borrowing many books but they confuse me futher, I am unable to fully gasp the concept like in C/C++.