Permalink
Browse files

Dont insert search parameters into the object

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent aa6b4d1 commit 1d53c05889943374665bf9e9838a99da493b761a @dhh dhh committed Apr 23, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 activeresource/lib/active_resource/base.rb
@@ -121,7 +121,7 @@ def exists?(id, options = {})
# Find every resource.
def find_every(options)
collection = connection.get(collection_path(options)) || []
- collection.collect! { |element| new(element, options) }
+ collection.collect! { |element| new(element) }
end
# Find a single resource.

0 comments on commit 1d53c05

Please sign in to comment.