dlt/pilha — Issue #7: Getting undefined method NilClass
Author: Malligarjunan
Created: 2011-11-29 16:23:52+00:00
State: open

Hi All,
I am using using the following pilha code ,

StackExchange::StackOverflow.config do |options|
options.api_key = 'My Key'
end
questions = StackExchange::StackOverflow::Question.all(:tagged => 'math', :body => true)

I am getting the following exception.

rake aborted!
undefined method request' for nil:NilClass
c:/ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.10/lib/active_support/whiny_
nil.rb:52:inmethod_missing'
c:/ruby187/lib/ruby/gems/1.8/gems/pilha-0.2.1/lib/pilha/stack_overflow/base.rb:1
7:in request'
c:/ruby187/lib/ruby/gems/1.8/gems/pilha-0.2.1/lib/pilha/stack_overflow/question.
rb:15:inall'

Kindly help me out to resolve the issue.

I am executing it in windows machine.

Thanks
Malligarjunan S.