Created
October 8, 2012 13:23
-
-
Save mdaisuke/3852519 to your computer and use it in GitHub Desktop.
catch "ERROR RangeError: exceeded available parameter key space"
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
class Rack::Utils::KeySpaceConstrainedParams | |
alias_method "orig_assign", "[]=" | |
def []=(key,value) | |
Rails.logger.error "[parameter] #{key}, #{value}" | |
orig_assign(key,value) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment