study ruby on rails - sample