Sample App in ruby on rails