RAILS: Availability of Resource after booking over period of time with calendar_for
问题 I am writing booking system for rentals of countable resource in Rails. Owner of resource wants to see total resource volume booked over the time as percentage. calendar_for gem seems to be nice choice, except that I fail to find the way to show this percentage over period of time. Suppose, total resource is 100: client-A books from 12-jan-2013 till 20-Feb-2013 20 units. client-B books from 15-jan-2013 till 1-Mar-2013 30 units. I want to see booked capacity from 12-jan-2013 to 14-jan-2013 =