Skip to content

Commit e26e76c

Browse files
author
Mike Dobozy
committed
fix for get_deleted nil
1 parent 0081fd6 commit e26e76c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

activerecord-activesalesforce-adapter.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Gem::Specification.new do |s|
22
s.name = "activerecord-activesalesforce-adapter"
3-
s.version = "2.1.0"
3+
s.version = "2.1.1"
44
s.authors = ["Doug Chasman","Luigi Montanez","Senthil Nayagam"]
5-
s.date = "2008-08-09"
5+
s.date = "2011-06-20"
66
s.description = %q{ActiveSalesforce (ASF) is a Rails connection adapter that provides direct access to Salesforce.com hosted data and metadata via the ActiveRecord model layer. Objects, fields, and relationships are all auto surfaced as active record attributes and rels. }
77
s.summary = %q{ActiveSalesforce (ASF) is a Rails connection adapter that provides direct access to Salesforce.com hosted data and metadata via the ActiveRecord model layer. Objects, fields, and relationships are all auto surfaced as active record attributes and rels. }
88
s.email = "[email protected]"

lib/active_record/connection_adapters/activesalesforce_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def get_deleted(object_type, start_date, end_date, name = nil)
497497
ids = []
498498
result[:deletedRecords].each do |v|
499499
ids << v[:id]
500-
end
500+
end if result[:deletedRecords]
501501

502502
ids
503503
}

0 commit comments

Comments
 (0)