0

使用 Omniauth 时出现奇怪的错误。这似乎与我的代码无关。

这是 Twitter 返回一些奇怪的变形对象的结果吗?

You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.[]

oa-oauth (0.1.6) lib/omniauth/strategies/oauth.rb:24:in `callback_phase'
oa-core (0.1.6) lib/omniauth/strategy.rb:27:in `call!'
oa-core (0.1.6) lib/omniauth/strategy.rb:19:in `call'
oa-core (0.1.6) lib/omniauth/builder.rb:30:in `call'
haml (3.0.24) lib/sass/plugin/rack.rb:41:in `call'
4

2 回答 2

1

现在可以了。我高度怀疑这是推特的畸形回报。

于 2010-12-07T05:59:24.330 回答
0

我有一个类似的问题。清除浏览器缓存解决了它。

懒惰型

于 2011-03-25T17:16:45.843 回答