Sha256: cff0edade20d2f265e018f2e215b5772131b87fe5829888f4e1720797c1bb8de

Contents?: true

Size: 253 Bytes

Versions: 46

Compression:

Stored size: 253 Bytes

Contents

module Katello
  class Model < ActiveRecord::Base
    include ActiveModel::ForbiddenAttributesProtection
    self.abstract_class = true

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

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
katello-3.2.0.rc3 app/models/katello/model.rb
katello-3.2.0.rc2 app/models/katello/model.rb
katello-3.2.0.rc1.1 app/models/katello/model.rb
katello-3.2.0.rc1 app/models/katello/model.rb
katello-3.1.0.1 app/models/katello/model.rb
katello-3.1.0 app/models/katello/model.rb
katello-3.1.0.rc2.1 app/models/katello/model.rb
katello-3.0.2 app/models/katello/model.rb
katello-2.4.5 app/models/katello/model.rb
katello-3.1.0.rc1 app/models/katello/model.rb
katello-3.0.1 app/models/katello/model.rb
katello-2.4.4 app/models/katello/model.rb
katello-3.0.0 app/models/katello/model.rb
katello-2.4.3 app/models/katello/model.rb
katello-3.0.0.rc7 app/models/katello/model.rb
katello-3.0.0.rc5 app/models/katello/model.rb
katello-2.4.2 app/models/katello/model.rb
katello-3.0.0.rc4 app/models/katello/model.rb
katello-3.0.0.rc3 app/models/katello/model.rb
katello-3.0.0.rc2 app/models/katello/model.rb