I've a problem with receive data in controller. I must receive params in web service controller but I have follow problem with that.I researched and found that problem in rails parse this is article about that article .I would like find some way for parse it myself.I just want take last same item of ulr for example job_name=*. I have not receive any data in controller after this error. this is request request and error.
localhost:3000/ws/job_histories/index?job_name=name&job_name[]=*
Status: 500 Internal Server Error
undefined method
each_pair' for nil:NilClassmethod_missing'
org/jruby/RubyKernel.java:238:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/activesupport/lib/active_support/whiny_nil.rb:52:inmethod_missing'update'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb:46:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb:91:inmerge'parameters'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/request.rb:385:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/base.rb:1290:inassign_shortcuts'process'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/base.rb:527:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/filters.rb:606:inprocess_with_filters'call_with_exception'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/rescue.rb:65:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:90:indispatch'dispatch'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:85:indispatch'_call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:inbuild_middleware_stack' org/jruby/RubyProc.java:270:incall'
org/jruby/RubyProc.java:220:incall'call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/gems/rack-1.1.3/lib/rack/head.rb:9:incall'call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/gems/rack-1.1.3/lib/rack/methodoverride.rb:24:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:incall'call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:177:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:incall'cache'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:incache'call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:incall'call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/gems/rack-1.1.3/lib/rack/lock.rb:11:incall'call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/gems/rack-1.1.3/lib/rack/lock.rb:11:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:114:incall'run'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/reloader.rb:34:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:108:incall'call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/railties/lib/rails/rack/static.rb:31:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/gems/rack-1.1.3/lib/rack/urlmap.rb:49:incall' org/jruby/RubyArray.java:1612:ineach'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/gems/rack-1.1.3/lib/rack/urlmap.rb:41:incall'call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/gems/rack-1.1.3/lib/rack/content_length.rb:13:incall'call'
C:/skybot/int_3_6/skybot-2.0/gui/vendor/gems/rack-1.1.3/lib/rack/chunked.rb:15:in
C:/skybot/int_3_6/skybot-2.0/gui/vendor/gems/rack-1.1.3/lib/rack/handler/mongrel.rb:67:inprocess'process_client' org/jruby/RubyArray.java:1612:in
C:/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:159:ineach'process_client'
C:/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:158:in
C:/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:110:inprocess_client'run' org/jruby/RubyProc.java:270:in
C:/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/mongrel-1.1.5-java/lib/mongrel.rb:285:incall'call'
org/jruby/RubyProc.java:224:in