Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
interpret_status in rails3
def interpret_status(status)
Rack::Utils::HTTP_STATUS_CODES[status.to_i] || status.to_s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.