Skip to content

Commit

Permalink
dont bother merging in prefix_options
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
technoweenie committed Apr 24, 2007
1 parent 2df386a commit b3c4e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activeresource/lib/active_resource/base.rb
Expand Up @@ -143,7 +143,7 @@ def find_every(options)
prefix_options, query_options = split_options(options) prefix_options, query_options = split_options(options)
collection = connection.get(collection_path(prefix_options, query_options)) || [] collection = connection.get(collection_path(prefix_options, query_options)) || []
collection.collect! do |element| collection.collect! do |element|
returning new(element.merge(prefix_options)) do |resource| returning new(element) do |resource|
resource.prefix_options = prefix_options resource.prefix_options = prefix_options
end end
end end
Expand Down

0 comments on commit b3c4e30

Please sign in to comment.