how do you convert http response codes to it's meaning in ruby/rails. I tried the (imaginary) .to_words method without success
.to_words
(byebug) resp.code 201 (byebug) resp.code.to_words "201 Created"
Try
Rack::Utils::HTTP_STATUS_CODES[200]