Ruby on rails tutorial for sample app