Last active
August 29, 2015 14:07
-
-
Save defndaines/897cf780655a7b18fb65 to your computer and use it in GitHub Desktop.
Curry Failure
This file contains 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
application_type = 'application/json; charset-utf-8' | |
request = AJAX.method(:get).to_proc.curry.(conn).(address).(application_type) | |
# … GET request to … failed. | |
# from …/ajax.rb:154:in `_request’ | |
# from …/ajax.rb:31:in `get’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment