I’m currently using acts_as_tree to handle my categories hierarchy.
Animals
Birds
Dogs
Themes
Farm
City
My product model currently just has a “product_id” column, with an
acts_as_tree object and belongs_to :category
If I wanted to define a product that belonged to more than one category
(ie
“Rooster” – could belong to both Bird and Farm categories
simultaneously),
what is the best way to do this?
–
Anthony E.
Ph: 408-656-2473
var (bonita, farley) = new Dog;
farley.barks(“very loud”);
bonita.barks(“at strangers”);
http://chovy.dyndns.org/resume/
http://utuxia.com/consulting