Greetings,
Can anyone shed some light on why the following error is raised? I've
depleted my small inventory of ideas.
Thanks much.
Bill
--------------------
NoMethodError in IncidentController#signup
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.request
RAILS_ROOT: C:/RubyRails/rails_apps/rappEAH
C:/RubyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/mime_responds.rb:114:in `initialize'
app/controllers/incident_controller.rb:19:in `new'
app/controllers/incident_controller.rb:19:in `signup'
-e:3:in `load'
-e:3
-----------------------
class IncidentController < ApplicationController
def signup
@title = "register"
#following is the offending line
@responder = Responder.new(params[:responder])
end
end #end class
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---