Simple HTTP status code-symbol map in Rails
Rack::Utils::SYMBOL_TO_STATUS_CODE.key(404) =&gt; :not_found  head :not_found        Enter...
Tags: ruby, rails