hiratake55/RForcecom — pull request #1 by cwarden (2012-11-28 04:30:40+00:00)
Title: Set correct instanceURL in session

Get the serverURL from the SOAP response after authenticating and set
the instanceURL. This allows you to set the instanceURL to
https://www.salesforce.com/ (or https://test.salesforce.com/ for
sandboxes) when authenticating, and not have to know which instance your
org is on.

This fixes the common "Destination URL not reset" error.