reader()
Implements the reader method, e.g. foo.bar for Foo.has_one :bar
# File activerecord/lib/active_record/associations/singular_association.rb, line 5 def reader if !loaded? || stale_target? reload end target end