scheduling and booking

I am wondering how one could see empty time slots, and a user could then sign up for a given time slot. I guess sorta similar to open table. Do you use a gem for this? Or how have you approached it in past?

Posted over 4 years ago by Matt
Posted over 4 years ago by Alex Yang

Any solution you'll find will make use of Javascript, as that's what you need to get anything motion-based to work. However, that doesn't mean you won't be able to find a Rails gem to make the integration a little easier.

For dates only, one of the simplest and most popular is the jQuery datepicker: http://jqueryui.com/datepicker/. If you need dates and times, here's a Bootstrap-styled datetimepicker you should check out: https://github.com/Eonasdan/bootstrap-datetimepicker.

1