class Mdm::ExploitedHost < ActiveRecord::Base # # Relations # belongs_to :host, class_name: 'Mdm::Host', inverse_of: :exploited_hosts belongs_to :service, class_name: 'Mdm::Service', inverse_of: :exploited_hosts ActiveSupport.run_load_hooks(:mdm_exploited_host, self) end