module ActiveModel::Dirty

def attribute_previously_changed?(attr_name, **options) # :nodoc:

:nodoc:
Dispatch target for *_previously_changed? attribute methods.
def attribute_previously_changed?(attr_name, **options) # :nodoc:
  mutations_before_last_save.changed?(attr_name.to_s, **options)
end