Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Kamil Politowicz's Profile

GitHub User: kpolitowicz

Comments by Kamil Politowicz

Avatar

Indeed - it may be not needed for HTML version, but definitely JSON API would benefit from having the right status code:

render json: {error: @exception.message}, status: request.path[1..-1]