sampe_app from Michael Hartl's RoR tutorial