function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

NoMethodError 'schema' for asf-rest-adapter

I am trying to add the asf-rest-adapter to a Rails 2.3.11 app which is currently using the asf-soap-adapter.  I am new to Salesforce and to the project I'm working on, and haven't used these gems before.  However, the SOAP adapter is working fine and I can connect to Salesforce via the console.


Here's the problem.  When I start the console with asf-soap-adapter included in the project, I get: NoMethodError: undefined method 'schema' for Salesforce::Rest::Account:Class.  Apparently, that's the first Salesforce object that's being loaded.


I have ActiveResource 2.3.11 installed.  I found a google groups posting about this very issue, but there was no resolution posted.


I have yet to find any coherent steps to getting the asf-rest-adapter setup and working.  It is apparently assumed (in the github project README, and elsewhere) that you know all about the SOAP adapter, Salesforce REST Api, etc.  If such documentation or how to guides exist, I would greatly appreciate a pointer to them.


TIA for any help.