module ActiveModel::Dirty

def attribute_previously_was(attr_name) # :nodoc:

:nodoc:
Dispatch target for *_previously_was attribute methods.
def attribute_previously_was(attr_name) # :nodoc:
  mutations_before_last_save.original_value(attr_name.to_s)
end