Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/cerbero.rb

Instance Method Summary collapse

Instance Method Details

#save(*args) ⇒ Object



4
5
6
7
8
9
# File 'lib/cerbero.rb', line 4

def save(*args)
  super
rescue ActiveRecord::StatementInvalid
  valid?
  false
end