sample app using rails