Starter application for local Heroku Connect development. Used in following blog post: Local development with Heroku Connect
Based on Rails 4.1.6 and displays all Salesforce Contacts under /contacts.
Attention: You will need Heroku Connect set up in your Heroku environment for this to work
- Clone the repository
- Install Heroku toolbelt/CLI
- run heroku create
Follow the instructions set out in: Local development with Heroku Connect
Most like you'll only be interested in app/models/salesforce_model.rb and app/models/contact.rb
The Salesforce model is a subclass of ActiveRecord allowing you to access the Heroku Connect tables in your Postgres DB and the Contact model gives you an example of how you can subclass this and specify your table names.