sample application - ruby on rails