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
on Rails guides and the Agile Web
Development with
I hope this is okay for you.


2010/3/25 Rajkumar S. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs