Created
January 12, 2015 14:11
-
-
Save jlsherrill/921cf5b094addf8fdda4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/models/host/managed.rb b/app/models/host/managed.rb | |
index b2a718b..117c306 100644 | |
--- a/app/models/host/managed.rb | |
+++ b/app/models/host/managed.rb | |
@@ -121,7 +121,7 @@ class Host::Managed < Host::Base | |
scope :for_vm, lambda { |cr,vm| where(:compute_resource_id => cr.id, :uuid => Array.wrap(vm).compact.map(&:ide | |
# audit the changes to this model | |
- audited :except => [:last_report, :puppet_status, :last_compile], :allow_mass_assignment => true | |
+ audited :except => [:last_report, :puppet_status, :last_compile, :primary_interface], :allow_mass_assignment = | |
has_associated_audits | |
# some shortcuts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment