module Soulless::Dirty

Public Instance Methods

apply_changes() click to toggle source
# File lib/soulless/dirty.rb, line 3
def apply_changes
  changes_applied
end
reload_changes!() click to toggle source
# File lib/soulless/dirty.rb, line 7
def reload_changes!
  clear_changes_information
end
rollback_changes!(attributes = changed) click to toggle source
# File lib/soulless/dirty.rb, line 11
def rollback_changes!(attributes = changed)
  restore_attributes(attributes)
end