Quantified Self Ruby on Rails App