Sha256: 995ba16dbe3da2c2a6a4346506e0cb48c86a1d59cc63e15dbae9ddaf0b38e19e
Contents?: true
Size: 446 Bytes
Versions: 5
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true class PreupgradeReportEntry < ApplicationRecord belongs_to :preupgrade_report belongs_to_host serialize :tags, Array serialize :detail, JSON validates :preupgrade_report, :host, :hostname, :title, :actor, :audience, :severity, :leapp_run_id, presence: true def self.remediation_details(remediation_ids, host) where(id: remediation_ids, host: host).where.not(detail: nil).pluck(:detail) end end
Version data entries
5 entries across 5 versions & 1 rubygems