aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-04-23 20:58:40 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-04-23 20:58:40 +0000
commit1d53c05889943374665bf9e9838a99da493b761a (patch)
treecaf2936c7c5f043e835506daa1987c55a3132e49 /activeresource
parentaa6b4d175bac3628d86b26cb1e6218d2a0384b49 (diff)
downloadrails-1d53c05889943374665bf9e9838a99da493b761a.tar.gz
rails-1d53c05889943374665bf9e9838a99da493b761a.tar.bz2
rails-1d53c05889943374665bf9e9838a99da493b761a.zip
Dont insert search parameters into the object
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource')
-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 585531049a..759dffda81 100644
--- a/activeresource/lib/active_resource/base.rb
+++ b/activeresource/lib/active_resource/base.rb
@@ -121,7 +121,7 @@ module ActiveResource
# 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.