target=(target)
Sets the target of this association to \target, and the loaded flag to true.
# File activerecord/lib/active_record/associations/association.rb, line 102 def target=(target) @target = target loaded! end