method

changes_applied

rails latest stable - Class: ActiveModel::Dirty
changes_applied()
public

Clears dirty data and moves changes to previous_changes and mutations_from_database to mutations_before_last_save respectively.