rubyonrailsin

A Ruby and Rails talk

Friday, March 26, 2010


[Rails] Many-to-many relationship to table itself through other table

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Hello,

I would like to have many-to-many relationship to object itself with
additional info, but I did not find any info on that, could someone
suggest something?

Example:


Service
-- name
-- description

ServiceConnection
-- type
-- description
-- parent_id
-- child_id

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