{"action":"created","issue":{"url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/96","repository_url":"https://api.github.com/repos/uriklar/ZikaronBasalon","labels_url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/96/comments","events_url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/96/events","html_url":"https://github.com/uriklar/ZikaronBasalon/issues/96","id":146398621,"number":96,"title":"PagesController#home (ActiveRecord::StatementInvalid) \"PG::UndefinedTable: ERROR:  relation \"countries\" does not exist\nLINE 5:              WHERE a.attrelid = '\"countries\"'::regclass\n                                        ^\n:             SELECT a.attname, format_type(a.atttypid, a.atttypmod),\n                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod\n              FROM pg_attribute a LEFT JOIN pg_attrdef d\n                ON a.attrelid = d.adrelid AND a.attnum = d.adnum\n             WHERE a.attrelid = '\"countries\"'::regclass\n               AND a.attnum > 0 AND NOT a.attisdropped\n             ORDER BY a.attnum\n\"","user":{"login":"uriklar","id":2545447,"avatar_url":"https://avatars.githubusercontent.com/u/2545447?v=3","gravatar_id":"","url":"https://api.github.com/users/uriklar","html_url":"https://github.com/uriklar","followers_url":"https://api.github.com/users/uriklar/followers","following_url":"https://api.github.com/users/uriklar/following{/other_user}","gists_url":"https://api.github.com/users/uriklar/gists{/gist_id}","starred_url":"https://api.github.com/users/uriklar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uriklar/subscriptions","organizations_url":"https://api.github.com/users/uriklar/orgs","repos_url":"https://api.github.com/users/uriklar/repos","events_url":"https://api.github.com/users/uriklar/events{/privacy}","received_events_url":"https://api.github.com/users/uriklar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/uriklar/ZikaronBasalon/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2016-04-06T18:36:35Z","updated_at":"2016-04-06T18:46:35Z","closed_at":null,"body":"<table><tr><th>Exception</th><td>PG::UndefinedTable: ERROR:  relation &quot;countries&quot; does not exist\nLINE 5:              WHERE a.attrelid = &#39;&quot;countries&quot;&#39;::regclass\n                                        ^\n:             SELECT a.attname, format_type(a.atttypid, a.atttypmod),\n                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod\n              FROM pg_attribute a LEFT JOIN pg_attrdef d\n                ON a.attrelid = d.adrelid AND a.attnum = d.adnum\n             WHERE a.attrelid = &#39;&quot;countries&quot;&#39;::regclass\n               AND a.attnum &gt; 0 AND NOT a.attisdropped\n             ORDER BY a.attnum\n</td></tr><tr><th>Last Occurrence</th><td>April 06, 2016 18:46:33 +0000</td></tr><tr><th>Count</th><td>34</td></tr></table>\n\n## Stack Trace\n<pre>[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in `async_exec'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in `exec_no_cache'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:660:in `block in exec_query'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/active_record.rb:59:in `block in log_with_newrelic_instrumentation'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/method_tracer.rb:73:in `block in trace_execution_scoped'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/method_tracer_helpers.rb:82:in `trace_execution_scoped'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/method_tracer.rb:71:in `trace_execution_scoped'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/active_record.rb:56:in `log_with_newrelic_instrumentation'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:659:in `exec_query'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:1292:in `column_definitions'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/postgresql_adapter.rb:855:in `columns'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/model_schema.rb:229:in `yield'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/model_schema.rb:229:in `columns'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/model_schema.rb:238:in `columns_hash'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/locking/optimistic.rb:131:in `locking_enabled?'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/relation.rb:170:in `exec_queries'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/relation.rb:160:in `block in to_a'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/explain.rb:41:in `logging_query_plan'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/relation.rb:159:in `to_a'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/relation/finder_methods.rb:159:in `all'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/querying.rb:5:in `all'\n<a href='https://github.com/uriklar/ZikaronBasalon/blob/ad319612dbcfc37e46b19fb5e686f3a044c1acfe/app/controllers/pages_controller.rb#L13'>[app].../app/controllers/pages_controller.rb:13:in `home'</a>\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/implicit_render.rb:4:in `send_action'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/base.rb:167:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/rendering.rb:10:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:18:in `block in process_action'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:425:in `_run__2878869390981658596__process_action__2624565429337752917__callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:17:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/rescue.rb:29:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `block in instrument'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `instrument'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:29:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/railties/controller_runtime.rb:18:in `process_action'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:30:in `block in process_action'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:362:in `perform_action_with_newrelic_trace'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:25:in `process_action'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/base.rb:121:in `process'\n[bundle].../gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:45:in `process'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal.rb:203:in `dispatch'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'\n[bundle].../gems/actionpack-3.2.14/lib/action_controller/metal.rb:246:in `block in action'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:36:in `call'\n[bundle].../gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'\n[bundle].../gems/journey-1.0.4/lib/journey/router.rb:56:in `each'\n[bundle].../gems/journey-1.0.4/lib/journey/router.rb:56:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:608:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/party_foul-1.5.5/lib/party_foul/middleware.rb:8:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96: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/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/rack-1.4.7/lib/rack/etag.rb:23:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/rack-1.4.7/lib/rack/conditionalget.rb:25:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/head.rb:14:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/params_parser.rb:21:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/flash.rb:242:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/rack-1.4.7/lib/rack/session/abstract/id.rb:210:in `context'\n[bundle].../gems/rack-1.4.7/lib/rack/session/abstract/id.rb:205:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/cookies.rb:341:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/query_cache.rb:64:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run__3081189301311406229__call__548985898355569110__callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/rack/logger.rb:32:in `call_app'\n[bundle].../gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `block in call'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/tagged_logging.rb:22:in `tagged'\n[bundle].../gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/request_id.rb:22:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/rack-1.4.7/lib/rack/methodoverride.rb:21:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/rack-1.4.7/lib/rack/runtime.rb:17:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/activesupport-3.2.14/lib/active_support/cache/strategy/local_cache.rb:72:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/rack-1.4.7/lib/rack/lock.rb:15:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/actionpack-3.2.14/lib/action_dispatch/middleware/static.rb:63:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/rack-cache-1.6.1/lib/rack/cache/context.rb:140:in `forward'\n[bundle].../gems/rack-cache-1.6.1/lib/rack/cache/context.rb:249:in `fetch'\n[bundle].../gems/rack-cache-1.6.1/lib/rack/cache/context.rb:189:in `lookup'\n[bundle].../gems/rack-cache-1.6.1/lib/rack/cache/context.rb:66:in `call!'\n[bundle].../gems/rack-cache-1.6.1/lib/rack/cache/context.rb:51:in `call'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/engine.rb:484:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/application.rb:231:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/railtie/configurable.rb:30:in `method_missing'\n[bundle].../gems/newrelic_rpm-3.15.0.314/lib/new_relic/agent/instrumentation/middleware_tracing.rb:96:in `call'\n[bundle].../gems/rack-1.4.7/lib/rack/content_length.rb:14:in `call'\n[bundle].../gems/railties-3.2.14/lib/rails/rack/log_tailer.rb:17:in `call'\n[bundle].../gems/rack-1.4.7/lib/rack/handler/webrick.rb:59:in `service'\n<a href='https://github.com/uriklar/ZikaronBasalon/blob/ad319612dbcfc37e46b19fb5e686f3a044c1acfe/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb#L138'>[app].../vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'</a>\n<a href='https://github.com/uriklar/ZikaronBasalon/blob/ad319612dbcfc37e46b19fb5e686f3a044c1acfe/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb#L94'>[app].../vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'</a>\n<a href='https://github.com/uriklar/ZikaronBasalon/blob/ad319612dbcfc37e46b19fb5e686f3a044c1acfe/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb#L295'>[app].../vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'</a></pre>\nFingerprint: `43a83a7b3cac1fba82287846aa5eb010415eb545`\n"},"comment":{"url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/comments/206510209","html_url":"https://github.com/uriklar/ZikaronBasalon/issues/96#issuecomment-206510209","issue_url":"https://api.github.com/repos/uriklar/ZikaronBasalon/issues/96","id":206510209,"user":{"login":"uriklar","id":2545447,"avatar_url":"https://avatars.githubusercontent.com/u/2545447?v=3","gravatar_id":"","url":"https://api.github.com/users/uriklar","html_url":"https://github.com/uriklar","followers_url":"https://api.github.com/users/uriklar/followers","following_url":"https://api.github.com/users/uriklar/following{/other_user}","gists_url":"https://api.github.com/users/uriklar/gists{/gist_id}","starred_url":"https://api.github.com/users/uriklar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uriklar/subscriptions","organizations_url":"https://api.github.com/users/uriklar/orgs","repos_url":"https://api.github.com/users/uriklar/repos","events_url":"https://api.github.com/users/uriklar/events{/privacy}","received_events_url":"https://api.github.com/users/uriklar/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T18:46:35Z","updated_at":"2016-04-06T18:46:35Z","body":"<table><tr><th>Occurred At</th><td>April 06, 2016 18:46:33 +0000</td></tr><tr><th>URL</th><td>[GET] http://zikaronbasalonstaging.herokuapp.com/</td></tr><tr><th>Params</th><td><table><tr><th>controller</th><td>pages</td></tr><tr><th>action</th><td>home</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/50.112.95.211&#39;&gt;50.112.95.211&lt;/a&gt;</td></tr><tr><th>HTTP Headers</th><td><table><tr><th>Version</th><td>HTTP/1.1</td></tr><tr><th>User Agent</th><td>NewRelicPinger/1.0 (911249)</td></tr><tr><th>Accept Encoding</th><td></td></tr><tr><th>Accept</th><td>*/*</td></tr></table></td></tr></table>"}}