method
different_target?
v4.2.1 -
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