diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb index 323a95d8cd..12265d94f9 100644 --- a/activerecord/lib/active_record/associations/collection_proxy.rb +++ b/activerecord/lib/active_record/associations/collection_proxy.rb @@ -46,7 +46,7 @@ module ActiveRecord # Returns +true+ if the association has been loaded, otherwise +false+. # # person.pets.loaded? # => false - # person.pets + # person.pets.records # person.pets.loaded? # => true def loaded? @association.loaded?