method

writer

rails latest stable - Class: ActiveRecord::Associations::SingularAssociation
writer(record)
public

Implements the writer method, e.g. foo.bar= for Foo.belongs_to :bar