Rails semantic status codes cheat sheet

A list of rails’ semantic symbols for status codes

render nothing: true, status: 206
# Isn’t it so much more readable to use a symbol?
render nothing: true, status: :no_content
This list was assembled using Rack utilities:
Code/Description: Rack::Utils::HTTP_STATUS_CODES
Symbol/Code: Rack::Utils::SYMBOL_TO_STATUS_CODE
Show your support

Clapping shows how much you appreciated omrilotan’s story.