method

loaded?

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: CollectionProxy
loaded?() public

Returns true if the association has been loaded, otherwise false.

person.pets.loaded? # => false
person.pets.records
person.pets.loaded? # => true
Show source
Register or log in to add new notes.