Class: PreupgradeReportEntry

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/preupgrade_report_entry.rb

Class Method Summary collapse

Class Method Details

.remediation_details(remediation_ids, host) ⇒ Object



13
14
15
# File 'app/models/preupgrade_report_entry.rb', line 13

def self.remediation_details(remediation_ids, host)
  where(id: remediation_ids, host: host).where.not(detail: nil).pluck(:detail)
end