One interaction in my application will require that users claim one of three available meeting times. When a meeting time is claimed, I want it to disappear from view for any user who comes along later to avoid double booking. How best to do this just in terms of structuring the data?
Here is my current thinking:
I have three datetime columns: call_option_1, call_option_2, and call_option_3
I've created three additional integer columns: call_option_1_status, call_option_2_status, and call_option_3 status.
I essentially only need two statuses - unclaimed and claimed.
Should I create a model called CallOptionStatus and seed it with those two status names?
What is the best way to handle simple statuses like this in rails?
Thanks! Michael