The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
15 views

Issues with a Query within the main Query using DatabaseDotcom Ruby gem

I'm having a issue with pulling the data out of what would be a array of object data in my SFDC query. Im using the databasedotcom gem. Code def self.data_query #@client is defined at a class ...
0
votes
0answers
14 views

undefined method `model_name' for Force::SObject:Class when using form_for and force.rb

I am using the force.rb gem to connect with salesforce. In my edit views I am able to successfully create a form using form_for with fields that show data from salesforce as the textfield data and I ...
1
vote
1answer
35 views

Ruby on Rails Example

I have a Rails app from which I would like to convert a lead and merge it with an existing account. Does anyone have some sample code using Ruby? I have found C# and Java examples and understand the ...
3
votes
1answer
40 views

Using Restforce gem with SalesForce API and Oauth 2.0

I'm trying to use Restforce (https://github.com/ejholmes/restforce) to set up integration with my Rails app to SalesForce's API using Oauth 2.0. Restforce describes the initialization process as ...
1
vote
0answers
12 views

cannot update custom salesforce object with databasedotcom and databasedotcom-rails gems

I am attempting to use the databasedotcom and databasedotcom-rails gems as part of an app I'm building in ruby on rails and for some reason I am getting an error when attempting to update custom ...
1
vote
0answers
35 views

Filter Not Working For List

I'm trying to start using the Fuel SDK in Rails, but I can't seem to get a simple filter to work. Retrieving without a filter works fine, and returns the whole set (all 36 or whatever lists). I need ...
0
votes
1answer
42 views

Problem using Salesforce API over OAuth with Rails

I use the databasedotcom gem, and at first everything works fine (I am able to list Salesforce resources and perform queries on them), but then at random it drops the connection and gives me ...
2
votes
1answer
71 views

Best way to manage Custom Object layouts through API?

I have a Ruby on Rails application. I am asking the user for the object name that they use for invoices, i.e. "Invoice__c". With use of the metaforce gem the app creates the field "PDF_Link__c" on ...
3
votes
2answers
690 views

REST API: How to retrieve active values for picklist?

I am trying to access just the "Selected" picklist values for a field using the REST API via the databasedotcom Ruby gem. In the normal SFDC interface, a user can navigate to "Campaigns > Record ...
3
votes
4answers
2k views

What's the best gem for calling into a Salesforce org from a Ruby on Rails app?

I am going to be doing some work connecting a Ruby on Rails app into a Salesforce org to create some new data. Right now there isn't any complex logic, just straight forward data sending into SFDC. ...