sample app, learning rails