{"action":"created","issue":{"url":"https://api.github.com/repos/PewePro/alef-tng/issues/191","repository_url":"https://api.github.com/repos/PewePro/alef-tng","labels_url":"https://api.github.com/repos/PewePro/alef-tng/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/PewePro/alef-tng/issues/191/comments","events_url":"https://api.github.com/repos/PewePro/alef-tng/issues/191/events","html_url":"https://github.com/PewePro/alef-tng/issues/191","id":147268281,"number":191,"title":"NoMethodError: undefined method `where' for #<Array:0x007fd69aa8f1b0>","user":{"login":"PewePro","id":6604528,"avatar_url":"https://avatars.githubusercontent.com/u/6604528?v=3","gravatar_id":"","url":"https://api.github.com/users/PewePro","html_url":"https://github.com/PewePro","followers_url":"https://api.github.com/users/PewePro/followers","following_url":"https://api.github.com/users/PewePro/following{/other_user}","gists_url":"https://api.github.com/users/PewePro/gists{/gist_id}","starred_url":"https://api.github.com/users/PewePro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PewePro/subscriptions","organizations_url":"https://api.github.com/users/PewePro/orgs","repos_url":"https://api.github.com/users/PewePro/repos","events_url":"https://api.github.com/users/PewePro/events{/privacy}","received_events_url":"https://api.github.com/users/PewePro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"veronikagondova","id":14108943,"avatar_url":"https://avatars.githubusercontent.com/u/14108943?v=3","gravatar_id":"","url":"https://api.github.com/users/veronikagondova","html_url":"https://github.com/veronikagondova","followers_url":"https://api.github.com/users/veronikagondova/followers","following_url":"https://api.github.com/users/veronikagondova/following{/other_user}","gists_url":"https://api.github.com/users/veronikagondova/gists{/gist_id}","starred_url":"https://api.github.com/users/veronikagondova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veronikagondova/subscriptions","organizations_url":"https://api.github.com/users/veronikagondova/orgs","repos_url":"https://api.github.com/users/veronikagondova/repos","events_url":"https://api.github.com/users/veronikagondova/events{/privacy}","received_events_url":"https://api.github.com/users/veronikagondova/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-04-10T21:12:58Z","updated_at":"2016-04-12T18:56:08Z","closed_at":null,"body":"View details in Rollbar: [https://rollbar.com/AlefTNG/AlefTNG/items/35/](https://rollbar.com/AlefTNG/AlefTNG/items/35/)\n\n```\n\nNoMethodError: undefined method `where' for #<Array:0x007fd69aa8f1b0>\n  File \"/home/aleftng/deploy/aleftng/releases/20160409222409/app/controllers/weeks_controller.rb\", line 28, in show\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb\", line 4, in send_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb\", line 198, in process_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb\", line 10, in process_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb\", line 20, in block in process_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb\", line 117, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb\", line 117, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb\", line 555, in block (2 levels) in compile\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb\", line 505, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb\", line 505, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb\", line 92, in __run_callbacks__\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb\", line 778, in _run_process_action_callbacks\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb\", line 81, in run_callbacks\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb\", line 19, in process_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb\", line 29, in process_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb\", line 32, in block in process_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb\", line 164, in block in instrument\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb\", line 20, in instrument\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb\", line 164, in instrument\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb\", line 30, in process_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb\", line 250, in process_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb\", line 18, in process_action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb\", line 137, in process\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionview-4.2.4/lib/action_view/rendering.rb\", line 30, in process\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb\", line 196, in dispatch\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb\", line 13, in dispatch\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb\", line 237, in block in action\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb\", line 76, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb\", line 76, in dispatch\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb\", line 45, in serve\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb\", line 43, in block in serve\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb\", line 30, in each\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb\", line 30, in serve\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb\", line 821, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 96, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.15.0.314/lib/new_relic/rack/agent_hooks.rb\", line 30, in traced_call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 96, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.15.0.314/lib/new_relic/rack/browser_monitoring.rb\", line 32, in traced_call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 96, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb\", line 35, in block in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb\", line 34, in catch\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb\", line 34, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 96, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb\", line 24, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb\", line 96, in call\n  File \"/home/aleftng/deploy/aleftng/shared/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb\","},"comment":{"url":"https://api.github.com/repos/PewePro/alef-tng/issues/comments/209052718","html_url":"https://github.com/PewePro/alef-tng/issues/191#issuecomment-209052718","issue_url":"https://api.github.com/repos/PewePro/alef-tng/issues/191","id":209052718,"user":{"login":"veronikagondova","id":14108943,"avatar_url":"https://avatars.githubusercontent.com/u/14108943?v=3","gravatar_id":"","url":"https://api.github.com/users/veronikagondova","html_url":"https://github.com/veronikagondova","followers_url":"https://api.github.com/users/veronikagondova/followers","following_url":"https://api.github.com/users/veronikagondova/following{/other_user}","gists_url":"https://api.github.com/users/veronikagondova/gists{/gist_id}","starred_url":"https://api.github.com/users/veronikagondova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veronikagondova/subscriptions","organizations_url":"https://api.github.com/users/veronikagondova/orgs","repos_url":"https://api.github.com/users/veronikagondova/repos","events_url":"https://api.github.com/users/veronikagondova/events{/privacy}","received_events_url":"https://api.github.com/users/veronikagondova/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T18:56:08Z","updated_at":"2016-04-12T18:56:08Z","body":"Tak, v takom pripade to ja asi nevyriesim :D \r\n"}}