From a8d7215060568c4ad36efd3faa64f861e05b4873 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 29 Dec 2006 01:38:39 +0000 Subject: [PATCH] doh typo in commit from the hip git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activeresource/lib/active_resource/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb index b9d6c1e610..c8225bba1b 100644 --- a/activeresource/lib/active_resource/base.rb +++ b/activeresource/lib/active_resource/base.rb @@ -101,7 +101,7 @@ module ActiveResource def query_string(options) # Omit parameters which appear in the URI path. - path unless defined?(@prefix_parameters) + prefix unless defined?(@prefix_parameters) query_params = options.reject { |key, value| @prefix_parameters.include?(key) } # Accumulate a list of escaped key=value pairs for the given parameters.