ArgumentError calling Dispatcher.dispatch

Hello. I am hitting a nasty error wherein the the 2nd sequential
request to my rails application is failing with the following error.
Note that I am getting this error with both webrick…

#<ArgumentError: wrong number of arguments (3 for 1)>
[“C:/sdks/ruby/1.8.4/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/webrick_server.rb:115:in
`dispatch’”

…and with Mongrel…

Error calling Dispatcher.dispatch #<ArgumentError: wrong number of
arguments (3
for 1)>
C:/sdks/ruby/1.8.4/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3-mswin32/lib/mongrel/rails.rb:73:in
`dispatch’

The real pain comes in when looking at the source for both cases,
webrick_server.rb:115 and mongrel/rails.rb:73 and noticing that the
calls do have three arguments.

Any idea how the interpreter would only think one argument is being
passed here?

thanks,

~harris

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs