Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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

share|improve this question
add comment

4 Answers 4

up vote 6 down vote accepted

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.

https://github.com/heroku/databasedotcom

https://rubygems.org/gems/databasedotcom

http://wiki.developerforce.com/page/Accessing_Salesforce_Data_From_Ruby

http://fractastical.com/2011/09/01/getting-started-with-the-databasedotcom-gem/

share|improve this answer
add comment

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/

share|improve this answer
add comment

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

share|improve this answer
    
until now?! haha did it break...? –  jordan.baucke Sep 27 '12 at 16:23
    
no, it didn't break. it was just a translation problem :-) –  Andree Wille Sep 27 '12 at 16:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.