Rails has some [built-in symbols for error codes](http://httpsstatus.es/422) (e.g. `:unprocessable_entity`) which can make these more readable.