Questions tagged [databasedotcom-gem]
42 questions
0
votes
1 answer
Routes error on nested controller when submitting form, databasedotcom-gem
I am using the databasedotcom & databasedotcom-rails gem so that I get generate leads into Salesforce from form submissions. It was working standalone until I nested the controller under a parent, and now when I press submit I get this routes…

Dan Mitchell
- 844
- 2
- 15
- 34
0
votes
1 answer
Databasedotcom gem : Retrieve user info based on session id
I am using databasedotcom gem for interacting with salesforce. I am able to get sObject(Account,Contact,Lead) info. Can any one tell me how to get the user info by passing salesforce session id.
Below code is used to get Account detail from…

Muzaffer
- 196
- 1
- 5
- 13
0
votes
0 answers
ArgumentError in FacilitiesController#index
I am running a tutorial to create my first app on Ruby on Rails and find the following issue:
ArgumentError in FacilitiesController#index
bad argument (expected URI object or URI string)
Rails.root:…

Lut
- 1,363
- 1
- 14
- 30
0
votes
1 answer
Databasedotcom materialize a custom object in Ruby
I would like to return the results of a SOQL query as JSON, but the data seems to be returned as a string.
client = SFDC_Adapter.login
data = client.query("SELECT MarkupAmount__c,
MarkupPercent__c,
…

Johnny
- 355
- 4
- 15
0
votes
1 answer
using multiple access tokens with databasedotcom gem
After having googled enough (and failing!)
I thought of posting this question here. (Interestingly SO shows all matching questions before you start posting yours based on subject you use for your question. But no help :(
Anyways my situation…

Mandeep Singh
- 91
- 9
0
votes
1 answer
Salesforce: Possible to use "describeLayout" function from REST API?
I know describeLayout is accessible from the SOAP API, but is it possible to access it from the REST API as well? I'm particularly interested in accessing this function using the databasedotcom Ruby gem.

user456584
- 86,427
- 15
- 75
- 107
0
votes
1 answer
Databasedotcom::SalesForceError Error The requested resource does not exist
Does any body else here know better why this error occurs?
Databasedotcom::SalesForceError
Error
The requested resource does not exist
/app/vendor/bundle/ruby/1.9.1/bundler/gems/databasedotcom-8666381d50b7/lib/databasedotcom/client.rb:376:in…

Mandeep Singh
- 91
- 9
0
votes
1 answer
salesforce sandbox integration in rails, error expired access
I am using the Ruby Gem "databascdotcom" to integrate Salesforce in a Rails app and all works fine until i try it with sandbox account type "Configuration Only".
The following code work fine when i used with salesforce product account.
Here is my…

Anil D
- 1,989
- 6
- 29
- 60
0
votes
1 answer
databasedotcom error on no record found
Just started using databasedotcom gem and now stuck.
When trying to find a record in Salesforce by Id, if the id/record doesn't exist, it produces the following error:
"Provided external ID field does not exist or is not accessible:"
If the Id does…
0
votes
1 answer
ROR error with Salesforce: The requested resource does not exist
I am using the Ruby Gem "databascdotcom" to integrate Salesforce in a Rails app and all works fine.
But getting following error on first call to salesforce:
**The requested resource does not exist**
If I refresh (Ctrl + F5) the page again, it works…

Anil D
- 1,989
- 6
- 29
- 60
0
votes
1 answer
Ruby Gem "Databasedotcom" same object issue
I am using the Ruby Gem "Databasedotcom" to integrate Salesforce in a Rails app and all works fine, but I now facing a problem with the same object name in the Rails application and Salesforce.
I have a User model in my Rails application and User…

Anil D
- 1,989
- 6
- 29
- 60
0
votes
1 answer
Error running bundle install on rails os x 10.7.4 xcode 4.3.2 rvm 1.14.1
Trying to get a new rails app up and I can't start the server without bundle installing. I get this error. I tried other stacks with no avail. Thanks in advance for any guidance!
Using coffee-rails (3.1.1)
Using columnize (0.3.6)
Using…

jahrichie
- 1,215
- 3
- 17
- 26