Class: Moxie::Forum

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/moxie/forum.rb

Instance Method Summary collapse

Instance Method Details

#remove_topicsObject



10
11
12
# File 'app/models/moxie/forum.rb', line 10

def remove_topics
  topics.each { |t| t.destroy }
end