ruby sample app 2