method
replace
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::Associations::SingularAssociation
replace(record)private
No documentation available.
# File activerecord/lib/active_record/associations/singular_association.rb, line 48
def replace(record)
raise NotImplementedError, "Subclasses must implement a replace(record) method"
end