Disabling specific food options?

4 views
Skip to first unread message

jason...@gmail.com

unread,
Feb 17, 2017, 3:23:32 PM2/17/17
to Bridge Troll
Hi, I've been working on issue 325 which concerns food options configurations on RSVP's. I'd like to see what would be a good implementation approach to toggling food options. 
One approach I'd consider is to make a new dietary_options column/table to event's so the dietary restrictions can read from that instead of a DIETS constants. This would be the main code to tackle in my opinion, since the _dietary_restrictions.html partial relies on this too:


But I'm also trying to determine a way to implement food options without another migration, and instead explore the relationships between the event and dietary_restrictions.

In summary, I'd introduce a new migration for FoodOptions to integrate with Events, but I wonder what else to consider within the project.  Any insight on this implementation would be greatly appreciated!
Reply all
Reply to author
Forward
0 new messages