Displaying 1 result from an estimated 1 matches for "polymorphicassociations".
2006 May 08
2
Associating with different classes
Dear Railers,
I am toying with a new project and have a schema design question.
I have a tree-like node structure. Each of the nodes will be
associated with a single object. This associated object can be of a
variety of types.
I represent the tree through a Node class which acts_as_tree. Now
imagine three other classes--Animals, Fruits and Vegetables. Each
node will have an association