student  has many certificate
certificate has one student

On Fri, Mar 12, 2010 at 10:34 PM, Colin Law <[email protected]> wrote:

> On 12 March 2010 14:32, woodsy0130 <[email protected]> wrote:
> > 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'.
>
> Have a look at the rails guide on ActiveRecord associations at
> http://guides.rubyonrails.org/.  It has many examples.
>
> Colin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
Thanks:
Rajeev sharma

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to