Hola, estoy teniendo un problema al hacer un simple submit de un
formulario, simplemente no me deja, parto desde esta url:
http://miapp.es/admin/documentos/list/3?doc=94
Cuando doy al botón submit me aparece el error 500:
Application error
Change this error message for exceptions thrown outside of an action
(like in Dispatcher setups or broken Ruby code) in public/500.html
y mirando el log tengo:
undefined method update' for "94":String ../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:214:in
build_deep_hash’
…/config/…/vendor/rails/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:214:in
build_deep_hash' ../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:54:in
parse_request_parameters’
…/config/…/vendor/rails/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:47:in
each' ../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:47:in
parse_request_parameters’
…/config/…/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:71:in
request_parameters' ../config/../vendor/rails/actionpack/lib/action_controller/request.rb:13:in
parameters’
…/config/…/vendor/rails/actionpack/lib/action_controller/session_management.rb:122:in
set_session_options_without_components' ../config/../vendor/rails/actionpack/lib/action_controller/components.rb:178:in
set_session_options’
…/config/…/vendor/rails/actionpack/lib/action_controller/session_management.rb:116:in
process' ../config/../vendor/rails/railties/lib/dispatcher.rb:38:in
dispatch’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:150:in
process_request' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:54:in
process!’
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in
each_cgi' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in
each’
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in
each_cgi' ../config/../vendor/rails/railties/lib/fcgi_handler.rb:53:in
process!’
…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!’
dispatch.fcgi:24
Está haciendo algo con el parámetro pero no se qué, cosa que no me
explico, sólo debe hacer el submit, así de fácil pero no lo hace. Alguna
sugerencia? Gracias