method

previous_changes_include?

rails latest stable - Class: ActiveModel::Dirty

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

previous_changes_include?(attr_name)
private

Returns true if attr_name were changed before the model was saved, false otherwise.