Hi John,
you might consider doing it this way:
calendars has_many events has_and_belongs_to_many menus has_and_belongs_to_many
categories
Calendar: name
Event: description + when_ical*
Menu: name + description + photos** + ancestry***
Category: name
* ical format
** a Rails attachments
I am building a Lunch Ordering Module for my app and I have these models
currently
Menu
:menu_date
:menu_type
Meal
:name
:mentree_id
:available_daily
Mentree
:name
Msides
:name
Mdrink
:name
Right now I am using a has_and_belongs_to_many on
meals_menus
mdrinks_menus
Thank you all... I got the drag and drop working but ran into many other
complications from the drag and drop and decided it was too complicated for
what I was trying to achieve...
Snap to positions, alignment of objects, and on and on. Looked cool but
not worth the extra code... :-)
John
3 matches
Mail list logo