Coder Social home page Coder Social logo

databasedotcom-guide's Introduction

databasedotcom gem guide

How to build the Guide

Before you can translate the guide into various formats you need to install the dependencies.

gem install bundler
bundle install

In the root directory, launch the following Thor task:

thor guide:build

This will install an HTML version of the guide in the output folder

To build a LaTeX or PDF version you have to use this task:

thor guide:build latex
# or
thor guide:build pdf

databasedotcom-guide's People

Contributors

raygao avatar richardvanhook avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

databasedotcom-guide's Issues

Authentication error with client_id

I have reached out to salesforce to no avail. Your guide is the best plain english approach to using databasedotcom gem.

When trying to connect I always get the error:

Databasedotcom::SalesForceError: client identifier invalid
    from /Users/adam.mccurdy/.rvm/gems/ruby-2.1.1/gems/databasedotcom-1.3.2/lib/databasedotcom/client.rb:112:in `authenticate'
    from (irb):16
    from /Users/adam.mccurdy/.rvm/rubies/ruby-2.1.1/bin/irb:11:in `<main>'

My best guess is that since all of my client_id keys have an underscore character in them that perhaps the databasedotcom gem is unable to parse such things.

My setup(with key details scrambled) looks like this:

client = Databasedotcom::Client.new :client_id => "3MRANDOMKEYCHARSFOROBSCURITYLYNvAT_ytwvI5RkuppeyWrZX_CqHCZVqtPUZzJz9_fBCNTU1FAbgKHGzf", :client_secret => "10000000000000005", :host => "test.salesforce.com"
client.authenticate :username => "[email protected]", :password => "myActualPasswordthenthistokenQ4fXYWflKjabcedefgrllgpQ"

Does the databasedotcom gem not escape those characters properly?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.