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.

SFDC seems to endorse using: Force.com-Toolkit-for-Ruby, and it looks like it should meet my needs.

I typically develop exclusively inside of SFDC so speak, so I don't use any of the outward facing meta-data apis, etc.

I know that I could use the REST API, however, I wanted to know if anyone has used both of these processes, and which they would recommend:

Force.com Toolkit for Ruby vs. RESTful HTTP Callouts (don't think there are any toolkits/frameworks available yet)

Or if someone has a preferred Ruby->SOAP API GEM

5 Answers 5


Take a look at the databasedotcom ruby gem. (It works across with Salesforce/Force.com as well.)

It's an amazing wrapper around the REST API. Here is the gem, along with a couple write-ups as well.






I suggest you using databasedotcom gem, databasedotcom-rails gem if you are using simple CRUD operations. See a video tutorial here > http://www.youtube.com/watch?v=oXLV_Apw5Sg Yeah one more thing if you want to import a large number of contacts from ms outlook or something then either use the web based tool in salseforce itself or if you want to develop your own application from scratch use salseforce_bulk gem for rails and also check this out > http://blog.jeffdouglas.com/2010/08/12/using-the-force-com-bulk-api/


We are using the databasedotcom gem since a couple of month now. No issues with it.

  • until now?! haha did it break...? Commented Sep 27, 2012 at 16:23
  • no, it didn't break. it was just a translation problem :-) Commented Sep 27, 2012 at 16:26

The databasedotcom is deprecated. Instead try restforce. It is a lightweight ruby client for the Salesforce REST API.


The Sfdc gem is the best one.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .