Module: ActiveLayer::ActiveRecord::Persistence::InstanceMethods

Defined in:
lib/active_layer/active_record/persistence.rb

Instance Method Summary collapse

Instance Method Details

#save!Object



20
21
22
23
24
# File 'lib/active_layer/active_record/persistence.rb', line 20

def save!
  unless save
    raise RecordInvalidError.new(self)
  end
end