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 Metasploit::Concern.run(self) end