What's the pattern for "has many of yourself"?


#1

I feel like I should kow this, but it’s ust not coming to me. I have a
model that points to a bunch of “related” instances of itself. That is,
Foo has_many :foos.

How am I supposed to model that relationship? If I do a “has and
belongs to many” then I’m going to end up with a majors_majors table?


#2

has_many :foos
belongs_to :foo

should work with a foo_id column in the table.

Michael