class ActiveModel::AttributeMutationTracker

def any_changes?

def any_changes?
  attr_names.any? { |attr| changed?(attr) }
end