[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[RAILS] Salesforce integration with Rails app

arjun ghosh

12/24/2007 12:43:00 PM

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.ruby.... 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
=3D> Booting WEBrick=85
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=97active_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 gettin=
g
resource or blog online which speaks about rails implementation of saleforc=
e
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

1 Answer

Ryan Davis

12/24/2007 7:15:00 PM

0


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).