A sleep tracking system in RoR