sample app per rails tutorial