title: How to create an hour based scheduling app in rails
body: <p>Typical calendars involve adding events simply based by date.  Each event is usually just listed per the day they are attached.</p>
  
  <p>What I am working on is a scheduling app that is based on hour blocks in a day.  So, a person might be able to schedule a conference room from 08:00 to 12:00.  Users would be able to view today, or any other day...which would show what events are scheduled for the viewed day and show them as blocks of reserved hours.</p>
  
  <p>I need to somehow display the schedule in an html table.  The part I'm struggling with is that the start_time and end_time will need to flow vertically across table rows in the same column (see image).</p>
  
  <p>Also, the owner of the schedule can set their hours of operation.  So, if their doors open at 09:00 and they close at 17:00, then those are the times (in 15 minute increments) that will be listed down the left side of the table.  And, the custom "events" that are schedule will be the columns across the table head.</p>
  
  <p>The image should show you what I am trying to create.  The hitch is, saving a record in the Schedule model that includes who scheduled it, the day the reservation is for, and the start and end times of that reservation...and then, somehow add css classes to appropriate td and tr to display that reservation in the table.</p>
  
  <p>Any ideas, suggestions, or gems that already exist would be much appreciated!</p>
  
  <p>I'm using rails 3, ruby 2</p>
  
  <p><img src="https://i.stack.imgur.com/iY0GX.png" alt="enter image description here"></p>