diff options
Diffstat (limited to 'activeresource')
-rw-r--r-- | activeresource/lib/active_resource/base.rb | 2 |
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. |