Module: ActsAsArchive::Base::InstanceMethods

Defined in:
lib/acts_as_archive.rb

Instance Method Summary collapse

Instance Method Details

#delete!(*args) ⇒ Object



182
183
184
# File 'lib/acts_as_archive.rb', line 182

def delete!(*args)
  ActsAsArchive.disable { self.delete(*args) }
end

#destroy!(*args) ⇒ Object



186
187
188
# File 'lib/acts_as_archive.rb', line 186

def destroy!(*args)
  ActsAsArchive.disable { self.destroy(*args) }
end