Rails http response status coded