Project

General

Profile

« Previous | Next » 

Revision 7691ab4a

Added by Tom Caspy about 9 years ago

fixes #7407 - puppet class parameters should be cloned in #clone

View differences:

app/models/concerns/host_common.rb
alias_method :all_puppetclasses, :classes
has_many :lookup_values, :finder_sql => Proc.new { LookupValue.where('lookup_values.match' => lookup_value_match).to_sql }, :dependent => :destroy
has_many :lookup_values, :finder_sql => Proc.new { LookupValue.where('lookup_values.match' => lookup_value_match).to_sql }, :dependent => :destroy, :validate => false
# See "def lookup_values_attributes=" under, for the implementation of accepts_nested_attributes_for :lookup_values
accepts_nested_attributes_for :lookup_values
# Replacement of accepts_nested_attributes_for :lookup_values,

Also available in: Unified diff