On Tue, Aug 12, 2008 at 7:00 AM, Ganesh Kumar <gani_chinta / yahoo.com> wrote: > Hi, > I have one join table called > > for example "students_subjects" and i am having relationship like > in > student model > :has_many=>subjects ,:through=>students_departments > > in > subjects table > :has_many=>students ,:through=>students_departments > > i need to store data in join table > join table columns > > 'id' 'student_id' 'subject_id' > > how can i store plz reply if anybody knows solution..... You want the RubyOnRails mailing-list. Anyways, just add the column to your join table, you're already using has_many :through, which is intended for join tables with additional data on the relationship. Michael Guterl