sample app from ror tutorial