diff --git a/app/models/service_template.rb b/app/models/service_template.rb index 1c107d829b2..783378d16e5 100644 --- a/app/models/service_template.rb +++ b/app/models/service_template.rb @@ -438,7 +438,7 @@ def provision_workflow(user, dialog_options = nil, request_options = {}) end def dup - super.tap { |obj| obj.update_attributes(:guid => nil) } + super.tap { |obj| obj.guid = nil } end def add_resource(rsc, options = {})