Attempts to save the
record and clears changed attributes if successful.
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 21
def save(*) #:nodoc:
if status = super
@previously_changed = changes
@changed_attributes.clear
elsif IdentityMap.enabled?
IdentityMap.remove(self)
end
status
end