learning rails - sample app