Created
September 8, 2008 22:31
-
-
Save adelcambre/9558 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 49f2caef59e5c915d3fa12b3460b997878ee5b80 Mon Sep 17 00:00:00 2001 | |
From: Andy Delcambre <[email protected]> | |
Date: Mon, 8 Sep 2008 15:30:36 -0700 | |
Subject: [PATCH] typo in error state for create | |
--- | |
salesforce/lib/dm-salesforce.rb | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
diff --git a/salesforce/lib/dm-salesforce.rb b/salesforce/lib/dm-salesforce.rb | |
index ec0a98f..a5c40fb 100644 | |
--- a/salesforce/lib/dm-salesforce.rb | |
+++ b/salesforce/lib/dm-salesforce.rb | |
@@ -215,7 +215,7 @@ module DataMapper | |
resource.instance_variable_set(key.instance_variable_name, result.id) | |
else | |
raise SalesforceAPI::CreateError, | |
- results.errors.map {|e| "#{e.statusCode}: #{e.message}"}.join(", ") | |
+ result.errors.map {|e| "#{e.statusCode}: #{e.message}"}.join(", ") | |
end | |
end.size | |
-- | |
1.6.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment