Also, I'd go with `unless response.code == '200'` here although this one's probably more a matter of preference :)