{"action":"created","issue":{"url":"https://api.github.com/repos/ashu1061/footy/issues/53","repository_url":"https://api.github.com/repos/ashu1061/footy","labels_url":"https://api.github.com/repos/ashu1061/footy/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/ashu1061/footy/issues/53/comments","events_url":"https://api.github.com/repos/ashu1061/footy/issues/53/events","html_url":"https://github.com/ashu1061/footy/issues/53","id":157204384,"number":53,"title":"Api::V1::ProductsController#index (TypeError) \"no implicit conversion of Fixnum into Hash\"","user":{"login":"ashu1061","id":12577416,"avatar_url":"https://avatars.githubusercontent.com/u/12577416?v=3","gravatar_id":"","url":"https://api.github.com/users/ashu1061","html_url":"https://github.com/ashu1061","followers_url":"https://api.github.com/users/ashu1061/followers","following_url":"https://api.github.com/users/ashu1061/following{/other_user}","gists_url":"https://api.github.com/users/ashu1061/gists{/gist_id}","starred_url":"https://api.github.com/users/ashu1061/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashu1061/subscriptions","organizations_url":"https://api.github.com/users/ashu1061/orgs","repos_url":"https://api.github.com/users/ashu1061/repos","events_url":"https://api.github.com/users/ashu1061/events{/privacy}","received_events_url":"https://api.github.com/users/ashu1061/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ashu1061/footy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":86,"created_at":"2016-05-27T13:16:44Z","updated_at":"2016-05-27T14:10:49Z","closed_at":null,"body":"<table><tr><th>Exception</th><td>no implicit conversion of Fixnum into Hash</td></tr><tr><th>Last Occurrence</th><td>May 27, 2016 19:40:48 +0530</td></tr><tr><th>Count</th><td>79</td></tr></table>\n\n## Stack Trace\n<pre><a href='https://github.com/ashu1061/footy/blob/0c0882f21f5ccecfc69f4546115feec053ca3071/app/models/product_recommender.rb#L72'>[app].../app/models/product_recommender.rb:72:in `merge!'</a>\n<a href='https://github.com/ashu1061/footy/blob/0c0882f21f5ccecfc69f4546115feec053ca3071/app/models/product_recommender.rb#L72'>[app].../app/models/product_recommender.rb:72:in `recommend'</a>\n<a href='https://github.com/ashu1061/footy/blob/0c0882f21f5ccecfc69f4546115feec053ca3071/app/controllers/api/v1/products_controller.rb#L14'>[app].../app/controllers/api/v1/products_controller.rb:14:in `index'</a>\n[bundle].../gems/actionpack-4.1.14/lib/action_controller/metal/implicit_render.rb:4:in `send_action'\n[bundle].../gems/actionpack-4.1.14/lib/abstract_controller/base.rb:189:in `process_action'\n[bundle].../gems/actionpack-4.1.14/lib/action_controller/metal/rendering.rb:10:in `process_action'\n[bundle].../gems/actionpack-4.1.14/lib/abstract_controller/callbacks.rb:20:in `block in process_action'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:113:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:113:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:552:in `block (2 levels) in compile'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:502:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:502:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:495:in `block (2 levels) in around'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:306:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:306:in `block (2 levels) in halting'\n[bundle].../gems/rails-observers-0.1.2/lib/rails/observers/action_controller/caching/sweeping.rb:73:in `around'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:452:in `public_send'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:452:in `block in make_lambda'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:305:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:305:in `block in halting'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:494:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:494:in `block in around'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:502:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:502:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:86:in `run_callbacks'\n[bundle].../gems/actionpack-4.1.14/lib/abstract_controller/callbacks.rb:19:in `process_action'\n[bundle].../gems/actionpack-4.1.14/lib/action_controller/metal/rescue.rb:29:in `process_action'\n[bundle].../gems/actionpack-4.1.14/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/notifications.rb:159:in `block in instrument'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/notifications.rb:159:in `instrument'\n[bundle].../gems/actionpack-4.1.14/lib/action_controller/metal/instrumentation.rb:30:in `process_action'\n[bundle].../gems/actionpack-4.1.14/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\n[bundle].../gems/activerecord-4.1.14/lib/active_record/railties/controller_runtime.rb:18:in `process_action'\n[bundle].../gems/actionpack-4.1.14/lib/abstract_controller/base.rb:136:in `process'\n[bundle].../gems/actionview-4.1.14/lib/action_view/rendering.rb:30:in `process'\n[bundle].../gems/actionpack-4.1.14/lib/action_controller/metal.rb:196:in `dispatch'\n[bundle].../gems/actionpack-4.1.14/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\n[bundle].../gems/actionpack-4.1.14/lib/action_controller/metal.rb:232:in `block in action'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/routing/route_set.rb:82:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/routing/route_set.rb:50:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/routing/mapper.rb:45:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/journey/router.rb:73:in `block in call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/journey/router.rb:59:in `each'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/journey/router.rb:59:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/routing/route_set.rb:692:in `call'\n[bundle].../bundler/gems/party_foul-7467951b0c17/lib/party_foul/middleware.rb:8:in `call'\n[bundle].../gems/warden-1.2.6/lib/warden/manager.rb:35:in `block in call'\n[bundle].../gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\n[bundle].../gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\n[bundle].../gems/rack-1.5.5/lib/rack/etag.rb:23:in `call'\n[bundle].../gems/rack-1.5.5/lib/rack/conditionalget.rb:25:in `call'\n[bundle].../gems/rack-1.5.5/lib/rack/head.rb:11:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/params_parser.rb:27:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/flash.rb:254:in `call'\n[bundle].../gems/rack-1.5.5/lib/rack/session/abstract/id.rb:225:in `context'\n[bundle].../gems/rack-1.5.5/lib/rack/session/abstract/id.rb:220:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/cookies.rb:562:in `call'\n[bundle].../gems/activerecord-4.1.14/lib/active_record/query_cache.rb:36:in `call'\n[bundle].../gems/activerecord-4.1.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/callbacks.rb:82:in `run_callbacks'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\n[bundle].../gems/railties-4.1.14/lib/rails/rack/logger.rb:38:in `call_app'\n[bundle].../gems/railties-4.1.14/lib/rails/rack/logger.rb:20:in `block in call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/tagged_logging.rb:26:in `tagged'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/tagged_logging.rb:68:in `tagged'\n[bundle].../gems/railties-4.1.14/lib/rails/rack/logger.rb:20:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/request_id.rb:21:in `call'\n[bundle].../gems/rack-1.5.5/lib/rack/methodoverride.rb:21:in `call'\n[bundle].../gems/rack-1.5.5/lib/rack/runtime.rb:17:in `call'\n[bundle].../gems/activesupport-4.1.14/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'\n[bundle].../gems/actionpack-4.1.14/lib/action_dispatch/middleware/static.rb:84:in `call'\n[bundle].../gems/rack-1.5.5/lib/rack/sendfile.rb:112:in `call'\n[bundle].../gems/railties-4.1.14/lib/rails/engine.rb:514:in `call'\n[bundle].../gems/railties-4.1.14/lib/rails/application.rb:144:in `call'\n[bundle].../gems/unicorn-5.1.0/lib/unicorn/http_server.rb:562:in `process_client'\n[bundle].../gems/unicorn-5.1.0/lib/unicorn/http_server.rb:658:in `worker_loop'\n[bundle].../gems/unicorn-5.1.0/lib/unicorn/http_server.rb:508:in `spawn_missing_workers'\n[bundle].../gems/unicorn-5.1.0/lib/unicorn/http_server.rb:132:in `start'\n[bundle].../gems/unicorn-5.1.0/bin/unicorn:126:in `<top (required)>'\n[bundle].../bin/unicorn:23:in `load'\n[bundle].../bin/unicorn:23:in `<main>'</pre>\nFingerprint: `08de4f5b65c6bead6440370003583a654a387eb7`\n"},"comment":{"url":"https://api.github.com/repos/ashu1061/footy/issues/comments/222156369","html_url":"https://github.com/ashu1061/footy/issues/53#issuecomment-222156369","issue_url":"https://api.github.com/repos/ashu1061/footy/issues/53","id":222156369,"user":{"login":"ashu1061","id":12577416,"avatar_url":"https://avatars.githubusercontent.com/u/12577416?v=3","gravatar_id":"","url":"https://api.github.com/users/ashu1061","html_url":"https://github.com/ashu1061","followers_url":"https://api.github.com/users/ashu1061/followers","following_url":"https://api.github.com/users/ashu1061/following{/other_user}","gists_url":"https://api.github.com/users/ashu1061/gists{/gist_id}","starred_url":"https://api.github.com/users/ashu1061/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashu1061/subscriptions","organizations_url":"https://api.github.com/users/ashu1061/orgs","repos_url":"https://api.github.com/users/ashu1061/repos","events_url":"https://api.github.com/users/ashu1061/events{/privacy}","received_events_url":"https://api.github.com/users/ashu1061/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T14:10:49Z","updated_at":"2016-05-27T14:10:49Z","body":"<table><tr><th>Occurred At</th><td>May 27, 2016 19:40:48 +0530</td></tr><tr><th>URL</th><td>[GET] /api/products?new_category=&amp;query_string=&amp;long=72.8938252&amp;page=1&amp;lat=19.1135338</td></tr><tr><th>Params</th><td><table><tr><th>new_category</th><td></td></tr><tr><th>query_string</th><td></td></tr><tr><th>long</th><td>72.8938252</td></tr><tr><th>page</th><td>1</td></tr><tr><th>lat</th><td>19.1135338</td></tr><tr><th>format</th><td>json</td></tr><tr><th>action</th><td>index</td></tr><tr><th>controller</th><td>api/v1/products</td></tr><tr><th>product</th><td><table></table></td></tr></table></td></tr><tr><th>Session</th><td><table></table></td></tr><tr><th>IP Address</th><td>&lt;a href=&#39;http://ipinfo.io/130.211.1.123&#39;&gt;130.211.1.123&lt;/a&gt;</td></tr><tr><th>HTTP Headers</th><td><table><tr><th>Version</th><td>HTTP/1.0</td></tr><tr><th>User Agent</th><td>okhttp/3.2.0</td></tr><tr><th>Accept Encoding</th><td>gzip</td></tr><tr><th>Accept</th><td>application/json</td></tr></table></td></tr></table>"}}
{"actor":{"display_login":"ashu1061"}}