Hi, im new to rails and I got a mind boggling issue.
I have a select form populated with Institutes names e.g University of
Yale. These records are obtained from the Institute ActiveRecord.The
institutes table has a many to many relationships with the course table.
My application should work such that when you select a certain institute
using a select() component and press the button proceed to view courses
available for the institute chosen. This will take you to a new page
with the courses.
My problem is that i don't know how i will store selected institute id
and use it to select specific courses using the many to many
relationships.. below are my code snippets