rubyonrailsin

A Ruby and Rails talk

Friday, March 12, 2010


Re: [Rails] Newbie over here

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

On 12 March 2010 14:32, woodsy0130 <woodsy0130@hotmail.com> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive