Created: 2012-03-23 19:08
Updated: 2014-01-05 11:59


RailsForce - App Template


This is an App template for a Rails application that interacts with the platform.

Getting Started


  1. git clone
  2. cd RailsForce_AppTemplate
  3. rails s
  4. Go to https://localhost:3000 and login to your salesforce org
  5. You will need to generate your own keys and drop them in the lib/certs dir. Check out the README in that dir for more info

Configuration from the environment

There are some environment variables under "/config/environments/" where you can define settings for :

  • API Version
  • Login URL
  • Consumer Keys

Working with a sandbox environment

If you're testing against a sandbox you must change the sfdc_login environment variable to

Configuration of OAuth parameters

You can find all of the Omniauth related parameters in lib/forcedotcom

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more