sample app using a ruby on rails tutorial