简体   繁体   English

Salesforce Databasedotcom gem:查询不会返回正确的结果

[英]Salesforce databasedotcom gem: Query doesn't return right results

I'm currently using the databasedotcom gem to authenticate and connect to Salesforce. 我目前正在使用databasedotcom gem进行身份验证并连接到Salesforce。 So a user on my app signs in to salesforce and then I can show their organization Users by materializing the User table and doing SF::User.all. 因此,我应用程序上的用户登录到salesforce,然后可以通过实例化用户表并执行SF :: User.all来显示其组织用户。

Now, this works, but sometimes, it returns another users details. 现在,此方法可行,但有时会返回另一个用户详细信息。

The authentication token is mine at all times though. 身份验证令牌始终是我的。

Help is appreciated. 感谢帮助。

I recently ran into a very similar issue using Twitter and Oauth. 最近,我使用Twitter和Oauth遇到了一个非常相似的问题。 Are you using a global configuration of some sort? 您是否正在使用某种全局配置? Check out the Thread safety section here: https://github.com/sferik/twitter#thread-safety I think it might be relevant. 在这里查看“线程安全性”部分: https : //github.com/sferik/twitter#thread-safety我认为这可能是相关的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Salesforce REST API:Databasedotcom gem可上传附件 - Salesforce REST API: Databasedotcom gem to upload attachments 在Rails中未为此组织启用REST API(使用databasedotcom gem的Salesforce API) - The REST API is not enabled for this Organization (Salesforce API using databasedotcom gem) in Rails databasedotcom gem AssignmentRules - databasedotcom gem AssignmentRules databasedotcom gem sobject问题 - databasedotcom gem sobject issue 使用databasedotcom ruby​​ gem访问Salesforce时,如何获取特定用户(或帐户)的ActivityHistory - When using databasedotcom ruby gem to access salesforce, how do I get the ActivityHistory for a particular User (or Account) 使用Databasedotcom-rails gem从RoR应用程序创建Salesforce自定义对象记录时出现NoMethodError - NoMethodError when creating a Salesforce custom object record from a RoR app with databasedotcom-rails gem 使用全名搜索时,Gem Ransack不会返回任何结果 - Gem Ransack doesn't return any results when searched with full name Rails中的显示方法不适用于Databasedotcom gem - Show method in Rails not working with databasedotcom gem 在没有模型的情况下验证电子邮件格式-Databasedotcom gem - Validate email format without model - databasedotcom gem Ruby Gem“Databasedotcom”同样的对象问题 - Ruby Gem “Databasedotcom” same object issue
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM