Active Record relations

HI all

in my application , i have 2 tables subjects and teachers. the relation
is one to many.

i have to display the subjects first and when i click on the subjects i
have to display the teachers.

and i have to add the new teacher to the teachers table by selecting the

how to do this

Hi Rajkumar,

This is pretty basic Rails – it might be a good idea to study up on the Ruby on Rails guides and the Agile Web Development with Rails book. I hope this is okay for you.