module ActiveLdap::AttributeMethods::Dirty
def reload(*) #:nodoc:
reload the record and clears changed attributes.
def reload(*) #:nodoc: super.tap do clear_changes_information end end
def save(*) #:nodoc:
Attempts to +save+ the record and clears changed attributes if successful.
def save(*) #:nodoc: succeeded = super if succeeded changes_applied end succeeded end
def save!(*) #:nodoc:
Attempts to save! the record and clears changed attributes if successful.
def save!(*) #:nodoc: super.tap do changes_applied end end
def set_attribute(name, value)
def set_attribute(name, value) if name and name != "objectClass" attribute_will_change!(name) unless value == get_attribute(name) end super end