Revision d7611b24
Added by Greg Sutcliffe over 11 years ago
- ID d7611b242760bffdd801a63dd4d3e63533ccfa52
app/models/report.rb | ||
---|---|---|
class Report < ActiveRecord::Base
|
||
include Authorization
|
||
include ReportCommon
|
||
belongs_to :host
|
||
|
||
belongs_to_host
|
||
has_many :messages, :through => :logs
|
||
has_many :sources, :through => :logs
|
||
has_many :logs, :dependent => :destroy
|
Also available in: Unified diff
fixes #2254 - Add STI to hosts table
Signed-off-by: Joseph Mitchell Magen <jmagen@redhat.com>
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>