mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
doc fix: Just referencing an association does not indeed load the records
[ci skip]
This commit is contained in:
parent
f96d457c3d
commit
2066d64c9b
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue