From 38886f3ed11d182a0b2ce97d8aa41e961c3dd43b Mon Sep 17 00:00:00 2001 From: Marc-Andre Lafortune Date: Wed, 12 Sep 2012 14:54:44 -0400 Subject: Update documentation for CollectionProxy --- .../lib/active_record/associations/collection_proxy.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb index ee8b816ef4..66132b7260 100644 --- a/activerecord/lib/active_record/associations/collection_proxy.rb +++ b/activerecord/lib/active_record/associations/collection_proxy.rb @@ -18,14 +18,8 @@ module ActiveRecord # @owner, the collection of its posts as @target, and # the @reflection object represents a :has_many macro. # - # This class has most of the basic instance methods removed, and delegates - # unknown methods to @target via method_missing. As a - # corner case, it even removes the +class+ method and that's why you get - # - # blog.posts.class # => Array - # - # though the object behind blog.posts is not an Array, but an - # ActiveRecord::Associations::HasManyAssociation. + # This class delegates unknown methods to @target via + # method_missing. # # The @target object is not \loaded until needed. For example, # -- cgit v1.2.3