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,

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

Kunjan B. 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

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:

http://www.railstutorial.org – excellent book-length tutorial
http://www.railscasts.com – Ryan B.'s excellent video presentations,
with transcriptions at http://www.asciicasts.com
http://guides.rubyonrails.org – the official guides
http://www.railsapi.com – the API docs, presented more readably than on
the official site

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: [email protected]
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.

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

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

Shimon