You need to sign in to do that
Don't have an account?
ActiveSalesforce 1.1.4 has been released!
activesalesforce-1.1.4.gem contains:
- supports the latest version of rails and rubygems
- select count(*) now uses 9.0 api support for native SOQL select count()
- clientId support
- SID authentication connection management bug fixes
NOTE: In your environment.rb you will need to change:
require_gem 'activesalesforce'
to:
require 'activesalesforce'
- supports the latest version of rails and rubygems
- select count(*) now uses 9.0 api support for native SOQL select count()
- clientId support
- SID authentication connection management bug fixes
NOTE: In your environment.rb you will need to change:
require_gem 'activesalesforce'
to:
require 'activesalesforce'
Message Edited by Doug Chasman on 03-28-2007 01:43 PM
Doug,
There appears to be an issue with ASF 1.1.4. After I install the gem I get the following error in my rails app with no changes other than updating to ASF 1.1.4. I then altered my environment.rb as you noted and I still get the same error. This app authenticates using the database.yml file and not SID authentication.
UNKNOWN_EXCEPTION: Destination URL not reset. The URL returned from login must be set in the SforceService
Thanks,
John Siedlicki
Doug,
Here is a simple rails app to demonstrate the error. Follow the steps below at a shell or command prompt. This assumes you have altered your environment.rb file as you noted and have properly setup your database.yml file to access SFDC.
who = Lead.find(:first)
render :text => "Name = #{who.name}"
Poke at the app with your browser to see the error thrown.
http://localhost:3000/test/run
ActiveSalesforce::ASFError in TestController#run
UNKNOWN_EXCEPTION: Destination URL not reset. The URL returned from login must be set in the SforceService
Thanks,
John Siedlicki