Handling recurring events in rails