Newbie over here

How do you specifiy a relationship between a many to many decomposition table?

I have been experiementing with has many through etc but i cant seem to get it working...

My tables are student and award and the 'relationship' table is 'certificate'.

Thanks for any responses

Dale

Have a look at the rails guide on ActiveRecord associations at http://guides.rubyonrails.org/. It has many examples.

Colin

student has many certificate certificate has one student

One of your problems may be that the table names would conventionally be plural (students, awards and certificates). Stick to the rails conventions and life will be easier.

Colin