From b3c4e301f490be57677aa3137329522e572b1d0f Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Tue, 24 Apr 2007 16:06:41 +0000 Subject: dont bother merging in prefix_options git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activeresource/lib/active_resource/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activeresource') diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb index 8d5567c42c..cd1f07e294 100644 --- a/activeresource/lib/active_resource/base.rb +++ b/activeresource/lib/active_resource/base.rb @@ -143,7 +143,7 @@ module ActiveResource prefix_options, query_options = split_options(options) collection = connection.get(collection_path(prefix_options, query_options)) || [] collection.collect! do |element| - returning new(element.merge(prefix_options)) do |resource| + returning new(element) do |resource| resource.prefix_options = prefix_options end end -- cgit v1.2.3