method
different_target?
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::Associations::BelongsToAssociation
different_target?(record)private
Checks whether record is different to the current target, without loading it
different_target?(record)Checks whether record is different to the current target, without loading it