diff options
Diffstat (limited to 'activeresource/lib/active_resource')
-rw-r--r-- | activeresource/lib/active_resource/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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. |