# Salesforce integration with Rails app

**URL:** <https://www.ruby-forum.com/t/salesforce-integration-with-rails-app/196553>\
**Category:** Ruby\
**Created:** [December 24, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/salesforce-integration-with-rails-app/196553 "2007-12-24T13:43:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arjun\_ghosh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@arjun\_ghosh](https://www.ruby-forum.com/u/arjun_ghosh)\
**Post date:** [December 24, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/salesforce-integration-with-rails-app/196553/1 "2007-12-24T13:43:52Z")

</div>

Hi,  
I have problem here and have searched a lot on net but did not get any  
answers.

Now what i am trying to do is create a rails app which talks to  
SalesForec  
API.  
I did a search found a Rails gem called ‘activesalesforce’  
Now i installed it as per the instructions at  
[http://activesfdc.rubyforge.org/](http://activesfdc.rubyforge.org/). And it got installed properly with  
dependencies. Even check it in the gem list.  
Now when i try try run my server(using webrick fro dev), it gives me  
error:-

\*F:\salesforcetestapp\>ruby script/server  
=\> Booting WEBrickâ€¦  
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.1  
/lib/active\_record/connection\_a  
dapters/abstract/connection\_specification.rb:231:in  
`establish_connection': Please install the activesalesforce adapter: `gem install  
activerecord-activesalesforce-adapter` (no such file to  
loadâ€”active\_record/connection\_adapters/activesalesforce\_adapter)  
(RuntimeError)

\*I am updated my rails and other gems.  
Now i have :-  
Rails - 2.0.2  
Ruby is 1.8.5  
MySql is 5.0.27  
WebRick is 1.3.1

Also another issue with this salesforce integration is that i am not  
getting  
resource or blog online which speaks about rails implementation of  
saleforce  
integration.  
I have questions like “How do we access local db when salesforce gem  
makes  
the db configuration in a way that seems that rails app can access only  
salesfore dataset?”  
Generally pointers to how do i go about doing the integration.  
So if anyone can throw any light, it would be much appreciated.  
Thanks in advance  
ciao  
Arjun

---

<div class="post-metadata">

**Author:** ![arjun\_ghosh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@arjun\_ghosh](https://www.ruby-forum.com/u/arjun_ghosh)\
**Post date:** [December 24, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/salesforce-integration-with-rails-app/196553/2 "2007-12-24T20:15:45Z")

</div>

On Dec 24, 2007, at 04:42 , arjun ghosh wrote:

> I have problem here and have searched a lot on net but did not get any  
> answers.

please direct these sorts of questions to the rubyonrails mailing list  
(or irc channel).
