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
subject.

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 http://guides.rubyonrails.org/ and the Agile Web
Development with
Railshttp://pragprog.com/titles/rails3/agile-web-development-with-rails-third-editionbook.
I hope this is okay for you.

/Lasse

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