Obedi Ferreira Mon Jan 30 10:50:52 -0500 2012

Subject: [Solved] Belongs to Many relationship

Hi all! Tried to find an answer on the forum but without a search engine, that's really awful.

So, I have two entities: Course and CourseType... Course have only one type, but the CourseTypes can belong to many Courses.

How can I achieve that?

Nanne Huiges Mon Jan 30 11:23:20 -0500 2012

Did you check out the associations page?


Obedi Ferreira Mon Jan 30 15:44:36 -0500 2012

Yes, I had checked that page. It turns out that I wrongly switched the relationship direction on my Models. Everything works fine now. Thank you :)