Class: Katello::Model

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
ActiveModel::ForbiddenAttributesProtection
Defined in:
app/models/katello/model.rb

Instance Method Summary collapse

Instance Method Details

#destroy!Object



6
7
8
9
10
# File 'app/models/katello/model.rb', line 6

def destroy!
  unless destroy
    fail self.errors.full_messages.join('; ')
  end
end