lib/acts_as_changesetable/acts/changeset.rb
# Deactivate any currently active changesets, then create a new one and make it active.
Deactivate any currently active changesets, then create a new one and make it active.
Deactivate any currently active changesets then create a new one and make it active .
def new_changeset
        deactivate_changesets
        change = self.new
        change.is_active = true
        change.save
        change
      end
def new_changeset deactivate_changesets change = self . new change . is_active = true change . save change end
Deactivate any currently active changesets, then create a new one and make it active.
Deactivate any currently active changesets then create a new one and make it active .