aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activeresource/lib/active_resource/base.rb2
1 files changed, 1 insertions, 1 deletions
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