This is a simple sample to connect Salesforce.com to heroku using Ruby on Rails