From 4de872107729a873a787356892393b284413f539 Mon Sep 17 00:00:00 2001 From: Ed Lebert Date: Tue, 27 Mar 2012 15:45:32 -0500 Subject: [PATCH] fixed excluded_query_attributes again --- lib/active_zuora/zobject.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/active_zuora/zobject.rb b/lib/active_zuora/zobject.rb index e61042c..87d4af1 100644 --- a/lib/active_zuora/zobject.rb +++ b/lib/active_zuora/zobject.rb @@ -77,12 +77,11 @@ def self.query_attribute_names(options={}) end def self.exclude_query_attributes(*attributes) - @excluded_query_attributes ||= [:fieldsToNull] - @excluded_query_attributes.concat attributes + excluded_query_attributes.concat attributes end def self.excluded_query_attributes - @excluded_query_attributes || [] + @excluded_query_attributes ||= [:fieldsToNull] end def self.extra_attributes(attributes=[])