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.4.5 app/models/katello/model.rb
katello-3.4.4 app/models/katello/model.rb
katello-3.4.2 app/models/katello/model.rb
katello-3.4.1 app/models/katello/model.rb
katello-3.4.0.2 app/models/katello/model.rb
katello-3.4.0.1 app/models/katello/model.rb
katello-3.3.2 app/models/katello/model.rb
katello-3.4.0 app/models/katello/model.rb
katello-3.4.0.rc2 app/models/katello/model.rb
katello-3.4.0.rc1 app/models/katello/model.rb
katello-3.3.1.1 app/models/katello/model.rb
katello-3.3.1 app/models/katello/model.rb
katello-3.3.0.1 app/models/katello/model.rb
katello-3.3.0 app/models/katello/model.rb
katello-3.3.0.rc2 app/models/katello/model.rb
katello-3.3.0.rc1.1 app/models/katello/model.rb
katello-3.3.0.rc1 app/models/katello/model.rb
katello-3.2.1.1 app/models/katello/model.rb
katello-3.2.1 app/models/katello/model.rb
katello-3.2.0 app/models/katello/model.rb