ja hallo erstmal,…
ich habe hier ein form basierten auf den R. Bates Complex-Forms-Casts[1]
gebaut.
Sobald ich aber eine select-Box darin aufnehme wirft der Server beim
submit
des Formulars einen HTTP-500-Fehler:
<%= form.select :type_id, @types, :index => nil %>
Conflicting types for parameter containers. Expected an instance of
Hash, but
found an instance of Array. This can be caused by passing Array and Hash
based paramters qs[]=value&qs[key]=value.
W:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_ext/cgi_methods.rb:204:in
`type_conflict!'
W:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_ext/cgi_methods.rb:168:in
`container'
[..]
Woran könnte das liegen?
Danke,
Keep smiling
yanosz
[1]