Question: A Rails project has ActiveRecord classes defined for Classroom and Student. If instances of these classes are related so that students are assigned the ID of one particular classroom, which choice shows the correct associations to define?

  1. A
  2. B
  3. C
  4. D

Answer: The correct answer of the above question is Option D:D