Demo rails application that you can use for testing with the databasedotcom gem.
You'll need to setup a database.com org with a custom object and recrods. Setting up a Database.com Org for Remote Access walks you through this process.
After you cloned this repo, add your OAuth tokens and credentials to the config/databasedotcom.yml file.
Test the connection to the database.com org:
rails console client = Databasedotcom::Client.new("config/databasedotcom.yml") client.authenticate :username => YOUR-USERNAME, :password => YOUR-PASSWORD client.materialize("Account__c") Account__c.count
- Fire up rails and get started.
See Accessing Salesforce Data from Ruby for an indepth tutorial.