Class: Abuse

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/abuse.rb

Instance Method Summary collapse

Instance Method Details

#confirm!Object



4
5
6
7
# File 'lib/abuse.rb', line 4

def confirm!
  self.confirmed = true
  self.save unless self.new_record?
end