can't convert nil into Array
RAILS_ROOT: /var/rails_apps/sta
/usr/share/rvm/gems/ruby-1.8.7-head/gems/will_paginate-2.3.16/lib/will_paginate/collection.rb:147:in `replace'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/will_paginate-2.3.16/lib/will_paginate/collection.rb:147:in `replace'
/var/rails_apps/sta/lib/elasticsearch/api.rb:363:in `build_will_paginate'
/var/rails_apps/sta/lib/elasticsearch/api.rb:362:in `build_will_paginate'
/var/rails_apps/sta/lib/elasticsearch/api.rb:356:in `parse_result'
/var/rails_apps/sta/lib/elasticsearch/api.rb:238:in `search'
/var/rails_apps/sta/app/models/job.rb:335:in `search_with_elastic_search'
/var/rails_apps/sta/app/controllers/jobs_controller.rb:59:in `search'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/will_paginate-2.3.16/lib/will_paginate/collection.rb:147:in `replace'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/will_paginate-2.3.16/lib/will_paginate/collection.rb:147:in `replace'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/will_paginate-2.3.16/lib/will_paginate/collection.rb:99:in `create'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1333:in `send'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:617:in `call_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/flash.rb:151:in `perform_action'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `send'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `process_without_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:606:in `process'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:391:in `process'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:386:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/routing/route_set.rb:438:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:87:in `dispatch'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:121:in `_call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:9:in `cache'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:28:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/sass-3.2.9/lib/sass/plugin/rack.rb:54:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/head.rb:9:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/session/cookie_store.rb:99:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/cache/strategy/local_cache.rb:25:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:114:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/reloader.rb:34:in `run'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:108:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/will_paginate-2.3.16/lib/will_paginate/collection.rb:147:in `replace'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/will_paginate-2.3.16/lib/will_paginate/collection.rb:147:in `replace'
/var/rails_apps/sta/lib/elasticsearch/api.rb:363:in `build_will_paginate'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/will_paginate-2.3.16/lib/will_paginate/collection.rb:99:in `create'
/var/rails_apps/sta/lib/elasticsearch/api.rb:362:in `build_will_paginate'
/var/rails_apps/sta/lib/elasticsearch/api.rb:356:in `parse_result'
/var/rails_apps/sta/lib/elasticsearch/api.rb:238:in `search'
/var/rails_apps/sta/app/models/job.rb:335:in `search_with_elastic_search'
/var/rails_apps/sta/app/controllers/jobs_controller.rb:59:in `search'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1333:in `send'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:617:in `call_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/flash.rb:151:in `perform_action'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `send'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `process_without_filters'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/filters.rb:606:in `process'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:391:in `process'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/base.rb:386:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/routing/route_set.rb:438:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:87:in `dispatch'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:121:in `_call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:9:in `cache'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:28:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/sass-3.2.9/lib/sass/plugin/rack.rb:54:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/head.rb:9:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/session/cookie_store.rb:99:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/activesupport-2.3.18/lib/active_support/cache/strategy/local_cache.rb:25:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:114:in `call'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/reloader.rb:34:in `run'
/usr/share/rvm/gems/ruby-1.8.7-head/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:108:in `call'
/opt/passenger-4.0.20/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:441:in `start_threads'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:435:in `initialize'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:435:in `new'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:435:in `start_threads'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:434:in `times'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:434:in `start_threads'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:433:in `synchronize'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:433:in `start_threads'
/opt/passenger-4.0.20/lib/phusion_passenger/request_handler.rb:200:in `main_loop'
/opt/passenger-4.0.20/helper-scripts/rack-preloader.rb:153
Parameters:
{"title"=>"Metall", "page"=>"74", "method"=>:get}
---
Headers:
{"Content-Type"=>"", "Access-Control-Allow-Origin"=>"*", "Cache-Control"=>"no-cache", "Access-Control-Allow-Methods"=>"*"}