1
我正在使用papal_adaptive gem。我在papal_adaptive.yml文件中提供了我的paypal沙盒帳戶詳細信息。當我打電話pay_request = PaypalAdaptive::Request.new
,它拋出下面的錯誤:paypal_adaptive gem不工作?
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.[]
如果您使用的是寶石,那麼您正在談論Ruby和Ruby on Rails,對吧?你使用什麼版本?在哪個控制器中有這個錯誤? –
嗨,我在Windows系統中使用ruby 1.9.2和rails 3.0.7。 –
與adaptive_pay寶石同樣的錯誤來了。 –