method
stale_state
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::Associations::BelongsToAssociation
stale_state()private
No documentation available.
# File activerecord/lib/active_record/associations/belongs_to_association.rb, line 124
def stale_state
result = owner._read_attribute(reflection.foreign_key) { |n| owner.send(:missing_attribute, n, caller) }
result && result.to_s
end