Skip to content

Instantly share code, notes, and snippets.

@mdaisuke
Created October 8, 2012 13:23
Show Gist options
  • Save mdaisuke/3852519 to your computer and use it in GitHub Desktop.
Save mdaisuke/3852519 to your computer and use it in GitHub Desktop.
catch "ERROR RangeError: exceeded available parameter key space"
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