Sha256: ab5c467f572d3bfebd17c4fa1de31a18a6ed75802067d3223390db0eef4b99cb
Contents?: true
Size: 472 Bytes
Versions: 28
Compression:
Stored size: 472 Bytes
Contents
# frozen_string_literal: true class PreupgradeReportEntry < ApplicationRecord belongs_to :preupgrade_report belongs_to_host serialize :tags, Array serialize :flags, 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
28 entries across 28 versions & 1 rubygems