Skip to content

Instantly share code, notes, and snippets.

@noeticpenguin
Created April 13, 2011 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noeticpenguin/918075 to your computer and use it in GitHub Desktop.
Save noeticpenguin/918075 to your computer and use it in GitHub Desktop.
SalesforceAdapter::Connection::Errors::FieldNotFound: You specified case_id as a field, but neither case_id or CaseId or case_id__c exist. Either manually specify the field name with :field, or check to make sure you have provided a correct field name.
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/bundler/gems/dm-sfdc-adapter-26449a3733c2/lib/dm-sfdc-adapter/connection.rb:59:in `field_name_for'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/bundler/gems/dm-sfdc-adapter-26449a3733c2/lib/dm-sfdc-adapter/adapter.rb:16:in `block in initialize'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/dm-core-1.0.2/lib/dm-core/property.rb:481:in `call'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/dm-core-1.0.2/lib/dm-core/property.rb:481:in `field'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/bundler/gems/dm-sfdc-adapter-26449a3733c2/lib/dm-sfdc-adapter/adapter.rb:129:in `block in execute_select'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/bundler/gems/dm-sfdc-adapter-26449a3733c2/lib/dm-sfdc-adapter/adapter.rb:126:in `map'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/bundler/gems/dm-sfdc-adapter-26449a3733c2/lib/dm-sfdc-adapter/adapter.rb:126:in `execute_select'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/bundler/gems/dm-sfdc-adapter-26449a3733c2/lib/dm-sfdc-adapter/adapter.rb:94:in `read'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/dm-core-1.0.2/lib/dm-core/repository.rb:162:in `read'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/dm-core-1.0.2/lib/dm-core/collection.rb:1116:in `lazy_load'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/dm-core-1.0.2/lib/dm-core/associations/one_to_many.rb:280:in `lazy_load'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/dm-core-1.0.2/lib/dm-core/support/lazy_array.rb:411:in `each'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/dm-core-1.0.2/lib/dm-core/collection.rb:508:in `each'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/dm-core-1.0.2/lib/dm-core/collection.rb:975:in `map'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/dm-core-1.0.2/lib/dm-core/collection.rb:975:in `inspect'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/railties-3.0.5/lib/rails/commands/console.rb:44:in `start'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/railties-3.0.5/lib/rails/commands/console.rb:8:in `start'
from /Users/kevinpoorman/.rvm/gems/ruby-1.9.2-p180@portal/gems/railties-3.0.5/lib/rails/commands.rb:23:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment