Module: Polivalente::Trashable::ClassMethods

Defined in:
app/models/concerns/polivalente/trashable.rb

Instance Method Summary collapse

Instance Method Details

#clean_trash!Object



14
15
16
# File 'app/models/concerns/polivalente/trashable.rb', line 14

def clean_trash!
  self.discarded.destroy_all
end