I use the databasedotcom gem, and at first everything works fine (I am able to list Salesforce resources and perform queries on them), but then at random it drops the connection and gives me
undefined method `' for nil:NilClass
for calls such as:
client.materialize("Account") @accounts = Account.all
I am connecting to a dev account via OAuth with token & instance_url obtained by OmniAuth.
It's not hitting any API usage limits (35/5000) so I am wondering what's the problem?