Method: ActiveRecord::Associations::SingularAssociation#force_reload_reader

Defined in:
activerecord/lib/active_record/associations/singular_association.rb

#force_reload_readerObject

Implements the reload reader method, e.g. foo.reload_bar for Foo.has_one :bar



28
29
30
31
# File 'activerecord/lib/active_record/associations/singular_association.rb', line 28

def force_reload_reader
  reload(true)
  target
end