We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4eb476 + eda8093 commit c665bf3Copy full SHA for c665bf3
lib/active_resource/collection.rb
@@ -4,7 +4,7 @@
4
module ActiveResource # :nodoc:
5
class Collection # :nodoc:
6
include Enumerable
7
- delegate :to_xml, :to_yaml, :length, :collect, :map, :each, :all?, :include?, :to_ary, :size, :last, :first, :[], :to => :to_a
+ delegate :to_yaml, :all?, *Array.instance_methods(false), :to => :to_a
8
9
# The array of actual elements returned by index actions
10
attr_accessor :elements, :resource_class, :original_params
0 commit comments