No no esta en mi codigo, como te digo en cuanto cambie eso ya funciono
quizas porque tu lo probaste solo con esos inputs
en mi caso tengo muchos muchos mas no se si eso tenga que ver pero te
repito
que en cuanto les puse nombres diferentes
todo fue bien, no cambie ninguna otra cosa de hecho si regreso los
nombres a
iguales vuelve el error 500
corro sobre windows vista basic
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
Rails 2.0.2
[2008-07-25 17:25:04] INFO WEBrick 1.3.1
esto es lo que marca:
/!\ FAILSAFE /!\ Fri Jul 25 13:28:52 -0500 2008
Status: 500 Internal Server Error
Conflicting types for parameter containers. Expected an instance of
Hash
but found an instance of String. This can be caused by colliding Array
and
Hash parameters like qs[]=value&qs[key]=value.
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:691:in
`type_conflict!’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:655:in
`container’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:646:in
`post_key_check’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:622:in
`parse’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:609:in
`initialize’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:609:in
`each’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:609:in
`initialize’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:416:in
`new’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:416:in
`parse_query_parameters’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:381:in
`parse_formatted_request_parameters’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/cgi_process.rb:78:in
`request_parameters’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:287:in
`parameters’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:22:in
`request_method’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/request.rb:35:in
`method’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1483:in
`extract_request_environment’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in
`recognize’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in
`handle_request’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in
`dispatch’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in
`dispatch_cgi’
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in
dispatch' C:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:112:in
handle_dispatch’
C:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:78:in
service' C:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in
service’
C:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in run' C:/ruby/lib/ruby/1.8/webrick/server.rb:173:in
start_thread’
C:/ruby/lib/ruby/1.8/webrick/server.rb:162:in start' C:/ruby/lib/ruby/1.8/webrick/server.rb:162:in
start_thread’
C:/ruby/lib/ruby/1.8/webrick/server.rb:95:in start' C:/ruby/lib/ruby/1.8/webrick/server.rb:92:in
each’
C:/ruby/lib/ruby/1.8/webrick/server.rb:92:in start' C:/ruby/lib/ruby/1.8/webrick/server.rb:23:in
start’
C:/ruby/lib/ruby/1.8/webrick/server.rb:82:in start' C:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:62:in
dispatch’
C:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/webrick.rb:66
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
`require’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
`new_constants_in’
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
require' C:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require’
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require’
script/server:3
El dÃa 25 de julio de 2008 15:29, Daniel R. Troitiño <
[email protected]> escribió: