Created
May 18, 2015 17:55
-
-
Save adrianpike/9f7bcb424986ddd4c9af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_resource' | |
class ActiveResource::ConnectionError | |
def to_s | |
message = super | |
message << " Response body = #{response.body}." if response.respond_to?(:body) | |
message | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment