Re: [Rails] Modelling a parent-child relationship

2010-06-18 Thread Don Pinkster
Interesting to read: http://guides.rails.info/association_basics.html#self-joins Op 18 jun 2010, om 19:53 heeft Michael Satterwhite het volgende geschreven: > I've been googling this for the last day, and right now all I've got is > a headache. There are several articles on this - but they are no

[Rails] Modelling a parent-child relationship

2010-06-18 Thread Michael Satterwhite
I've been googling this for the last day, and right now all I've got is a headache. There are several articles on this - but they are not making sense. One is using a field :association_foreign_key that I can't find in my documentation. I admit it, I'm lost. Assume I have a Categories table. To ma