Skip to content

aaronheroku/HCRailsDemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HCRailsDemo

Just a rails CRUD app to demo heroku connect.

Setup

Get a SE Demo Force app.

Install this app onto Heroku, install a Postgres DB, and install Heroku Connect.

Map the following fields over in Heroku Connect:

  • billingstate
  • billingpostalcode
  • billingcountry
  • billinglatitude
  • billingcity
  • billingstreet
  • accountsource
  • accountnumber
  • fax
  • name
  • description
  • phone
  • website
  • tickersymbol
  • recordtypeid

After your first sync, your postgres table should look like this (use \d salesforce.account in heroku pg:psql to view it)

                                            Table "salesforce.account"
      Column       |            Type             |                            Modifiers                            
-------------------+-----------------------------+-----------------------------------------------------------------
 billingstate      | character varying(80)       | 
 fax               | character varying(40)       | 
 billinglatitude   | double precision            | 
 accountsource     | character varying(40)       | 
 billingcity       | character varying(40)       | 
 id                | integer                     | not null default nextval('salesforce.account_id_seq'::regclass)
 billingcountry    | character varying(80)       | 
 _c5_source        | character varying(18)       | 
 name              | character varying(255)      | 
 accountnumber     | character varying(40)       | 
 billingpostalcode | character varying(20)       | 
 description       | text                        | 
 sfid              | character varying(18)       | 
 billingstreet     | character varying(255)      | 
 isdeleted         | boolean                     | 
 billinglongitude  | double precision            | 
 lastmodifieddate  | timestamp without time zone | 
 phone             | character varying(40)       | 
 website           | character varying(255)      | 
 tickersymbol      | character varying(20)       | 
 recordtypeid      | character varying(18)       | 

Launch the app

Profit

About

Just a rails CRUD app to demo heroku connect

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 58.2%
  • Ruby 39.6%
  • CoffeeScript 1.2%
  • JavaScript 1.0%