lib/acts_as_changesetable/acts/changeable.rb
# Callback hooked into after_destroy that copies every field required into the history class.
# Also associates the history with the current changeset
Callback hooked into after_destroy that copies every field required into the history class.
Also associates the history with the current changeset
Callback hooked into after_destroy that copies every field required into the history class . Also associates the history with the current changeset
def after_changeable_destroy
      self.changeable_history_class.new_from_changeable(self, true) unless (self.no_history || self.changesetable_options.no_copy_deleted?)
      self.no_history = false
      true
    end
def after_changeable_destroy self . changeable_history_class . new_from_changeable ( self , true ) unless ( self . no_history || self . changesetable_options . no_copy_deleted? ) self . no_history = false true end
Callback hooked into after_destroy that copies every field required into the history class.
Callback hooked into after_destroy that copies every field required into the history class .