Module: ActiveShotgun::Model::Validations

Defined in:
lib/active_shotgun/model/validations.rb

Instance Method Summary collapse

Instance Method Details

#saveObject



6
7
8
# File 'lib/active_shotgun/model/validations.rb', line 6

def save
  validate && super
end

#save!Object



10
11
12
13
# File 'lib/active_shotgun/model/validations.rb', line 10

def save!
  validate!
  super
end