Skip to content

Commit

Permalink
Refs #12951 - Allowing mass assignment of discovery_rule_id
Browse files Browse the repository at this point in the history
  • Loading branch information
orrabin authored and ohadlevy committed Jan 3, 2016
1 parent 74487f6 commit 1070ab8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/host/discovered.rb
@@ -1,6 +1,8 @@
class Host::Discovered < ::Host::Base
include ScopedSearchExtensions

attr_accessible :discovery_rule_id

belongs_to :hostgroup
has_one :discovery_attribute_set, :foreign_key => :host_id, :dependent => :destroy

Expand Down

0 comments on commit 1070ab8

Please sign in to comment.