# Taxonomization with dynamic taxon types

**URL:** <https://www.ruby-forum.com/t/taxonomization-with-dynamic-taxon-types/169938>\
**Category:** Rails\
**Created:** [June 10, 2009, 1:53pm UTC](https://www.ruby-forum.com/t/taxonomization-with-dynamic-taxon-types/169938 "2009-06-10T13:53:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![groogy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/47e85d/32.png) [@groogy](https://www.ruby-forum.com/u/groogy)\
**Post date:** [June 10, 2009, 1:53pm UTC](https://www.ruby-forum.com/t/taxonomization-with-dynamic-taxon-types/169938/1 "2009-06-10T13:53:17Z")

</div>

(Oops, I posted this to -core first. Sorry about that)

Hello,

I am making an e-commerce site where the merchant should be able to  
taxonomize (categorize) using dynamic types of taxons. If the merchant  
wants to create something else to taxonomize it by, he/she can just  
add another taxon type.

These are the models I use at the moment:

- TaxonType - a taxon type, like “weight”, “color”, etc.
- Taxon - A taxon, which belongs to a TaxonType and has a  
“description” (Like “blue”, “yellow”, etc.=
- Taxonomization - A has\_many :thtough table, belongs\_to :taxon and  
belongs\_to :product
- Product - has\_many :taxons, :through =\> :taxonomizations

Do you think this sounds like the best way to do it? Or is there a  
good plugin that can do this for me?

Thanks,  
Henrik H.
