a small sample app with ruby on rails