MCQs > IT & Programming > Ruby On Rails > In ActiveRecord, what is the difference between the has_many and has_many :through associations?

Ruby On Rails MCQs

In ActiveRecord, what is the difference between the has_many and has_many :through associations?

Answer

Correct Answer: Both are one-to-many associations but with has_many :through, the declaring model can associate through a third model.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it