How to communicate with salesforce

Hi,

I would like to know that how to communicate using ROR with salesforce.

For that I have setup ROR on my local system and while executing
command: rake gems:install, it gives error like: rake aborted!
development database is not configured.

Please let me know what is wrong and how to solve the above error.

Thanks in advance.

Kunjan Batavia wrote in post #976176:

Hi,

I would like to know that how to communicate using ROR with salesforce.

I would suggest you start by reading through

http://www.salesforce.com/us/developer/docs/api/index.htm

For that I have setup ROR on my local system and while executing
command: rake gems:install, it gives error like: rake aborted!
development database is not configured.

You need to specify your database details in /config/database.yml for
the DB server you'll be using.

Please let me know what is wrong and how to solve the above error.

I would suggest some introductory tutorials as recommended by Marnen
earlier and I quote:

Kunjan,

There are several RoR resources at salesforce.com's developer site,
developer.force.com. A great link to start is:

     http://wiki.developerforce.com/index.php/Getting_Started_with_the_Force.com_Toolkit_for_Ruby

The toolkit makes it easy for RoR developers to work with
salesforce.com/force.com-managed data.

Hope this helps,
Steve Bobrowski

I’d take a look at dm-salesforce-adapter:

https://github.com/cloudcrowd/dm-salesforce-adapter

I haven’t used it, but it has been around for awhile.

Shimon

Kunjan,

when you try to connect to salesforce with the, activesalesforce, you
should set infos in config/database.yml like below.

development:
  adapter: activesalesforce
  username: xxxxxxx@yyy.com
  password: zzzzzzzz

You might see some errors while trying to login. In That case, I suggest
that you check salesforce's security setting via Setup | Administration
Setup | Manage Users | Profiles. In the profile, you can set Login IP
Ranges so you have to set this.

Note that the profile is the one your user set.

HTH

Thank you for all your support to guide me.