I have an app where:
User has_many Openings
Opening belongs to User & has_and_belongs_to_many Categories
Category has_and_belongs_to_many Openings
I'm trying to create a rating system where the user rates each opening per category, and am struggling to see what relations I need where. Could anyone help point me in the right direction please?
Basically I want the rating to belong to a opening_category relation.