Revision a6f4f5f7
Added by Ohad Levy almost 13 years ago
- ID a6f4f5f7e750c345d4e6d83b65311fe74636d6a4
app/models/host.rb | ||
---|---|---|
has_many :host_parameters, :dependent => :destroy, :foreign_key => :reference_id
|
||
accepts_nested_attributes_for :host_parameters, :reject_if => lambda { |a| a[:value].blank? }, :allow_destroy => true
|
||
belongs_to :owner, :polymorphic => true
|
||
belongs_to :sp_subnet
|
||
|
||
include Hostext::Search
|
||
include HostCommon
|
Also available in: Unified diff
fixes #1120 - Replaced DHCP functionaitlity by the new net dhcp record classes