Learning ruby on rails sample app