Class: Polivalente::Trash

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Sortable, UserOwned
Defined in:
app/models/polivalente/trash.rb

Class Method Summary collapse

Class Method Details

.clean!Object



19
20
21
# File 'app/models/polivalente/trash.rb', line 19

def self.clean!
  destroy_all
end

.clean_stale!Object



15
16
17
# File 'app/models/polivalente/trash.rb', line 15

def self.clean_stale!
  stale.destroy_all
end