activesalesforce 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/asf_adapter.rb +1 -1
  2. metadata +2 -2
data/lib/asf_adapter.rb CHANGED
@@ -585,7 +585,7 @@ module ActiveRecord
585
585
  end
586
586
 
587
587
  # Handle references to custom objects
588
- reference_to = reference_to.chop(3).capitalize if reference_to.match(/__c$/)
588
+ reference_to = reference_to.chomp("__c").capitalize if reference_to.match(/__c$/)
589
589
 
590
590
  begin
591
591
  referenced_klass = class_from_entity_name(reference_to)
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: activesalesforce
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.2
7
- date: 2006-04-20 00:00:00 -04:00
6
+ version: 0.5.3
7
+ date: 2006-04-26 00:00:00 -04:00
8
8
  summary: 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.
9
9
  require_paths:
10
10
  - lib