stop using && for the short circuit side effect

This commit is contained in:
Aaron Patterson 2011-06-27 18:16:01 -07:00
parent 4ec47cac10
commit 4006e738ed

@ -2082,7 +2082,7 @@ def convert_number_column_value(value)
def populate_with_current_scope_attributes
self.class.scope_attributes.each do |att,value|
respond_to?("#{att}=") && send("#{att}=", value)
send("#{att}=", value) if respond_to?("#{att}=")
end
end