method
different_target?
rails 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