Error - Conflicting types for parameter containers


#1

Hi,

I am trying to implement password-reset functionality.

I have an email sent out to a user when they request a password. The
URL in the email contains a cgi param, of which is a SHA 256 hex
digest. The user clicks on that link and the page is opened in a
separate window, when the user enters in their password. When I hit
submit, I get the following error, anyone run into this error before?

Thanks,

Scott

Conflicting types for parameter containers. Expected an instance of
Hash, but found an instance of String. This can be caused by passing
Array and Hash based paramters qs[]=value&qs[key]=value.
/Users/stamosunas/workspaces/ruby/mgs/config/…/vendor/rails/
actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:204:in
type_conflict!' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:168:incontainer’
/Users/stamosunas/workspaces/ruby/mgs/config/…/vendor/rails/
actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:158:in
post_key_check' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:134:inparse’
/Users/stamosunas/workspaces/ruby/mgs/config/…/vendor/rails/
actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:37:in
parse_request_parameters' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:28:ineach’
/Users/stamosunas/workspaces/ruby/mgs/config/…/vendor/rails/
actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:28:in
parse_request_parameters' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/cgi_process.rb:72:inrequest_parameters’
/Users/stamosunas/workspaces/ruby/mgs/config/…/vendor/rails/
actionpack/lib/action_controller/request.rb:13:in parameters' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/request.rb:20:inmethod’
/Users/stamosunas/workspaces/ruby/mgs/config/…/vendor/rails/
actionpack/lib/action_controller/routing.rb:1307:in
extract_request_environment' /Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/ actionpack/lib/action_controller/routing.rb:1256:inrecognize’
/Users/stamosunas/workspaces/ruby/mgs/config/…/vendor/rails/railties/
lib/dispatcher.rb:40:in dispatch' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:84:inprocess’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/1.8/sync.rb:229:in synchronize' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:83:inprocess’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:580:in
process_client' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:ineach’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in
process_client' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:inrun’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in
initialize' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:innew’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in run' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:ininitialize’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in new' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:inrun’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/configurator.rb:
267:in run' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/configurator.rb: 266:ineach’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/configurator.rb:
266:in run' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:127:inrun’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/command.rb:211:in
run' /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231 /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/ bin/mongrel_rails:16:inload’
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
bin/mongrel_rails:16