Here is a basic design for a generic product database using STI. This allows different kinds of things to be gropuped by class and inherited normally, and makes it easy to have different associations/association rules on similiar things. Something like a cart, is an order by another name, and just has to be re-typed into something like CompletedOrder when completed.
Sunday, July 29, 2007
Basic generic products db
Posted by RubyPanther at 7/29/2007 01:53:00 PM
Labels: db ar design sti
Subscribe to:
Post Comments (Atom)
1 comments:
RubyPanther!!! :D so great to see you here!! :D
>:D<
Post a Comment