Project

General

Profile

« Previous | Next » 

Revision d7611b24

Added by Greg Sutcliffe over 11 years ago

  • ID d7611b242760bffdd801a63dd4d3e63533ccfa52

fixes #2254 - Add STI to hosts table

Signed-off-by: Joseph Mitchell Magen <>
Signed-off-by: Ohad Levy <>

View differences:

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