Displaying 1 result from an estimated 1 matches for "groups_categories".
2010 Dec 07
10
Advice on data design idea
...ssentially I have:
Sections - Automotive, Marine, Air
Groups - Cars, Trucks, Bikes
Categories - Pickup, SUV, Utility Truck
The categories need to be able to be under multiple groups and/or
sections. So I am thinking on having a series of HABTM associations:
sections_groups
sections_categories
groups_categories
This will allow me to add new groups/categories/sections with highly
flexible associations.
@section.groups or @section.categories etc...
Does this seem right or am I way off? I''m also concerned whether it
will perform well.
--
You received this message because you are subscribed to...