Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Do not normalize the value if it does not exist

  • Loading branch information...
commit 66d6cc5666c7bbecf52f995575f50a7996f83d55 1 parent 2240f65
@halorgium authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/dm-salesforce/adapter.rb
View
1  lib/dm-salesforce/adapter.rb
@@ -177,6 +177,7 @@ def make_salesforce_obj(query, attrs, key)
end
def normalize_id_value(klass, property, value)
+ return value unless value
if klass.respond_to?(:salesforce_id_properties)
properties = Array(klass.salesforce_id_properties).map {|p| p.to_sym}
return value[0..14] if properties.include?(property.name)
Please sign in to comment.
Something went wrong with that request. Please try again.