this is a sample_app from rails tutorial