Created
March 18, 2012 03:06
-
-
Save ChrisLundquist/2068313 to your computer and use it in GitHub Desktop.
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
This test works on Ruby 1.8.7, but blows up on ruby 1.9.2p318 | |
< Some Test Fails > | |
wrong number of arguments (2 for 0) | |
< Path Snip >/gems/activesupport-2.3.14/lib/active_support/ordered_hash.rb:16:in `block in to_yaml' | |
<The offending line> | |
out.seq(taguri, to_yaml_style) do |seq| | |
fails because it is called from | |
safe_request_params = Marshal.load(Marshal.dump(request.parameters)) | |
is effectively | |
safe_request_params = YAML::load(request.parameters.to_yaml) if request | |
I have to make a deep copy of the params hash as not to modify the original request object. Bleh audits. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment