Class: Comment

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

Instance Method Summary collapse

Instance Method Details

#mark_as_deleted!Object



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

def mark_as_deleted!
  update_attribute(:deleted, true)
end