{"action":"created","issue":{"url":"https://api.github.com/repos/tannakartikey/currents/issues/29","repository_url":"https://api.github.com/repos/tannakartikey/currents","labels_url":"https://api.github.com/repos/tannakartikey/currents/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/tannakartikey/currents/issues/29/comments","events_url":"https://api.github.com/repos/tannakartikey/currents/issues/29/events","html_url":"https://github.com/tannakartikey/currents/issues/29","id":244986241,"number":29,"title":"StripeController#events (NoMethodError) \"undefined method `is_active=' for nil:NilClass\"","user":{"login":"tannakartikey","id":422544,"avatar_url":"https://avatars3.githubusercontent.com/u/422544?v=4","gravatar_id":"","url":"https://api.github.com/users/tannakartikey","html_url":"https://github.com/tannakartikey","followers_url":"https://api.github.com/users/tannakartikey/followers","following_url":"https://api.github.com/users/tannakartikey/following{/other_user}","gists_url":"https://api.github.com/users/tannakartikey/gists{/gist_id}","starred_url":"https://api.github.com/users/tannakartikey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannakartikey/subscriptions","organizations_url":"https://api.github.com/users/tannakartikey/orgs","repos_url":"https://api.github.com/users/tannakartikey/repos","events_url":"https://api.github.com/users/tannakartikey/events{/privacy}","received_events_url":"https://api.github.com/users/tannakartikey/received_events","type":"User","site_admin":false},"labels":[{"id":536027546,"url":"https://api.github.com/repos/tannakartikey/currents/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1708,"created_at":"2017-07-24T06:48:19Z","updated_at":"2017-07-26T02:21:40Z","closed_at":null,"body":"<table><tr><th>Exception</th><td>undefined method `is_active=&#39; for nil:NilClass</td></tr><tr><th>Last Occurrence</th><td>July 26, 2017 02:21:39 +0000</td></tr><tr><th>Count</th><td>1700</td></tr></table>\n\n## Stack Trace\n<pre><a href='https://github.com/tannakartikey/currents/blob/1f246b06fe6fceba481a30d2e3c4f7b9cd05921a/app/controllers/stripe_controller.rb#L46'>[app].../app/controllers/stripe_controller.rb:46:in `events'</a>\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\n[bundle].../gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'\n[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'\n[bundle].../gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in `dispatch'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in `block in action'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `each'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `serve'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in `call'\n[bundle].../gems/party_foul-1.5.5/lib/party_foul/middleware.rb:8:in `call'\n[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'\n[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'\n[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'\n[bundle].../gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'\n[bundle].../gems/rack-1.6.8/lib/rack/conditionalget.rb:38:in `call'\n[bundle].../gems/rack-1.6.8/lib/rack/head.rb:13:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in `call'\n[bundle].../gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'\n[bundle].../gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'\n[bundle].../gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in `call'\n[bundle].../gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\n[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in `call_app'\n[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in `block in call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in `tagged'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `tagged'\n[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'\n[bundle].../gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'\n[bundle].../gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'\n[bundle].../gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\n[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in `call'\n[bundle].../gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'\n[bundle].../gems/railties-4.2.7.1/lib/rails/engine.rb:518:in `call'\n[bundle].../gems/railties-4.2.7.1/lib/rails/application.rb:165:in `call'\n[bundle].../gems/rack-1.6.8/lib/rack/content_length.rb:15:in `call'\n[bundle].../gems/puma-3.9.1/lib/puma/configuration.rb:224:in `call'\n[bundle].../gems/puma-3.9.1/lib/puma/server.rb:602:in `handle_request'\n[bundle].../gems/puma-3.9.1/lib/puma/server.rb:435:in `process_client'\n[bundle].../gems/puma-3.9.1/lib/puma/server.rb:299:in `block in run'\n[bundle].../gems/puma-3.9.1/lib/puma/thread_pool.rb:120:in `block in spawn_thread'</pre>\nFingerprint: `75f2ee6dd47e9912f7dcc9185e103d8d23bd37d7`\n"},"comment":{"url":"https://api.github.com/repos/tannakartikey/currents/issues/comments/317927902","html_url":"https://github.com/tannakartikey/currents/issues/29#issuecomment-317927902","issue_url":"https://api.github.com/repos/tannakartikey/currents/issues/29","id":317927902,"user":{"login":"tannakartikey","id":422544,"avatar_url":"https://avatars3.githubusercontent.com/u/422544?v=4","gravatar_id":"","url":"https://api.github.com/users/tannakartikey","html_url":"https://github.com/tannakartikey","followers_url":"https://api.github.com/users/tannakartikey/followers","following_url":"https://api.github.com/users/tannakartikey/following{/other_user}","gists_url":"https://api.github.com/users/tannakartikey/gists{/gist_id}","starred_url":"https://api.github.com/users/tannakartikey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannakartikey/subscriptions","organizations_url":"https://api.github.com/users/tannakartikey/orgs","repos_url":"https://api.github.com/users/tannakartikey/repos","events_url":"https://api.github.com/users/tannakartikey/events{/privacy}","received_events_url":"https://api.github.com/users/tannakartikey/received_events","type":"User","site_admin":false},"created_at":"2017-07-26T02:21:40Z","updated_at":"2017-07-26T02:21:40Z","body":"<table><tr><th>Occurred At</th><td>July 26, 2017 02:21:39 +0000</td></tr><tr><th>URL</th><td>[POST] /stripe_events</td></tr><tr><th>Params</th><td><table><tr><th>id</th><td>evt_1Aj0OILl1LzrhllYFnWnd4Wr</td></tr><tr><th>object</th><td>event</td></tr><tr><th>api_version</th><td>2017-06-05</td></tr><tr><th>created</th><td>1500879006</td></tr><tr><th>data</th><td><table><tr><th>object</th><td><table><tr><th>id</th><td>in_1Aj0OILl1LzrhllYUCbfIBqB</td></tr><tr><th>object</th><td>invoice</td></tr><tr><th>amount_due</th><td>0</td></tr><tr><th>application_fee</th><td></td></tr><tr><th>attempt_count</th><td>0</td></tr><tr><th>attempted</th><td>true</td></tr><tr><th>charge</th><td></td></tr><tr><th>closed</th><td>true</td></tr><tr><th>currency</th><td>usd</td></tr><tr><th>customer</th><td>cus_B5Ajay6j2W6JGu</td></tr><tr><th>date</th><td>1500879006</td></tr><tr><th>description</th><td></td></tr><tr><th>discount</th><td></td></tr><tr><th>ending_balance</th><td>0</td></tr><tr><th>forgiven</th><td>false</td></tr><tr><th>lines</th><td><table><tr><th>object</th><td>list</td></tr><tr><th>data</th><td>[{&quot;id&quot;=&gt;&quot;sub_B5Aj7xE5UGPnqa&quot;, &quot;object&quot;=&gt;&quot;line_item&quot;, &quot;amount&quot;=&gt;0, &quot;currency&quot;=&gt;&quot;usd&quot;, &quot;description&quot;=&gt;nil, &quot;discountable&quot;=&gt;true, &quot;livemode&quot;=&gt;false, &quot;metadata&quot;=&gt;{}, &quot;period&quot;=&gt;{&quot;start&quot;=&gt;1500879006, &quot;end&quot;=&gt;1500879304}, &quot;plan&quot;=&gt;{&quot;id&quot;=&gt;&quot;monthly&quot;, &quot;object&quot;=&gt;&quot;plan&quot;, &quot;amount&quot;=&gt;900, &quot;created&quot;=&gt;1500126335, &quot;currency&quot;=&gt;&quot;usd&quot;, &quot;interval&quot;=&gt;&quot;month&quot;, &quot;interval_count&quot;=&gt;1, &quot;livemode&quot;=&gt;false, &quot;metadata&quot;=&gt;{}, &quot;name&quot;=&gt;&quot;Monthly&quot;, &quot;statement_descriptor&quot;=&gt;nil, &quot;trial_period_days&quot;=&gt;nil}, &quot;proration&quot;=&gt;false, &quot;quantity&quot;=&gt;1, &quot;subscription&quot;=&gt;nil, &quot;subscription_item&quot;=&gt;&quot;si_1Aj0OILl1LzrhllYwHeiY4qj&quot;, &quot;type&quot;=&gt;&quot;subscription&quot;}]</td></tr><tr><th>has_more</th><td>false</td></tr><tr><th>total_count</th><td>1</td></tr><tr><th>url</th><td>/v1/invoices/in_1Aj0OILl1LzrhllYUCbfIBqB/lines</td></tr></table></td></tr><tr><th>livemode</th><td>false</td></tr><tr><th>metadata</th><td><table></table></td></tr><tr><th>next_payment_attempt</th><td></td></tr><tr><th>paid</th><td>true</td></tr><tr><th>period_end</th><td>1500879006</td></tr><tr><th>period_start</th><td>1500879006</td></tr><tr><th>receipt_number</th><td></td></tr><tr><th>starting_balance</th><td>0</td></tr><tr><th>statement_descriptor</th><td></td></tr><tr><th>subscription</th><td>sub_B5Aj7xE5UGPnqa</td></tr><tr><th>subtotal</th><td>0</td></tr><tr><th>tax</th><td></td></tr><tr><th>tax_percent</th><td></td></tr><tr><th>total</th><td>0</td></tr><tr><th>webhooks_delivered_at</th><td></td></tr></table></td></tr></table></td></tr><tr><th>livemode</th><td>false</td></tr><tr><th>pending_webhooks</th><td>1</td></tr><tr><th>request</th><td><table><tr><th>id</th><td>req_M8hkqZ0ZlfqTJH</td></tr><tr><th>idempotency_key</th><td></td></tr></table></td></tr><tr><th>type</th><td>invoice.payment_succeeded</td></tr><tr><th>controller</th><td>stripe</td></tr><tr><th>action</th><td>events</td></tr><tr><th>stripe</th><td><table><tr><th>id</th><td>evt_1Aj0OILl1LzrhllYFnWnd4Wr</td></tr><tr><th>object</th><td>event</td></tr><tr><th>api_version</th><td>2017-06-05</td></tr><tr><th>created</th><td>1500879006</td></tr><tr><th>data</th><td><table><tr><th>object</th><td><table><tr><th>id</th><td>in_1Aj0OILl1LzrhllYUCbfIBqB</td></tr><tr><th>object</th><td>invoice</td></tr><tr><th>amount_due</th><td>0</td></tr><tr><th>application_fee</th><td></td></tr><tr><th>attempt_count</th><td>0</td></tr><tr><th>attempted</th><td>true</td></tr><tr><th>charge</th><td></td></tr><tr><th>closed</th><td>true</td></tr><tr><th>currency</th><td>usd</td></tr><tr><th>customer</th><td>cus_B5Ajay6j2W6JGu</td></tr><tr><th>date</th><td>1500879006</td></tr><tr><th>description</th><td></td></tr><tr><th>discount</th><td></td></tr><tr><th>ending_balance</th><td>0</td></tr><tr><th>forgiven</th><td>false</td></tr><tr><th>lines</th><td><table><tr><th>object</th><td>list</td></tr><tr><th>data</th><td>[{&quot;id&quot;=&gt;&quot;sub_B5Aj7xE5UGPnqa&quot;, &quot;object&quot;=&gt;&quot;line_item&quot;, &quot;amount&quot;=&gt;0, &quot;currency&quot;=&gt;&quot;usd&quot;, &quot;description&quot;=&gt;nil, &quot;discountable&quot;=&gt;true, &quot;livemode&quot;=&gt;false, &quot;metadata&quot;=&gt;{}, &quot;period&quot;=&gt;{&quot;start&quot;=&gt;1500879006, &quot;end&quot;=&gt;1500879304}, &quot;plan&quot;=&gt;{&quot;id&quot;=&gt;&quot;monthly&quot;, &quot;object&quot;=&gt;&quot;plan&quot;, &quot;amount&quot;=&gt;900, &quot;created&quot;=&gt;1500126335, &quot;currency&quot;=&gt;&quot;usd&quot;, &quot;interval&quot;=&gt;&quot;month&quot;, &quot;interval_count&quot;=&gt;1, &quot;livemode&quot;=&gt;false, &quot;metadata&quot;=&gt;{}, &quot;name&quot;=&gt;&quot;Monthly&quot;, &quot;statement_descriptor&quot;=&gt;nil, &quot;trial_period_days&quot;=&gt;nil}, &quot;proration&quot;=&gt;false, &quot;quantity&quot;=&gt;1, &quot;subscription&quot;=&gt;nil, &quot;subscription_item&quot;=&gt;&quot;si_1Aj0OILl1LzrhllYwHeiY4qj&quot;, &quot;type&quot;=&gt;&quot;subscription&quot;}]</td></tr><tr><th>has_more</th><td>false</td></tr><tr><th>total_count</th><td>1</td></tr><tr><th>url</th><td>/v1/invoices/in_1Aj0OILl1LzrhllYUCbfIBqB/lines</td></tr></table></td></tr><tr><th>livemode</th><td>false</td></tr><tr><th>metadata</th><td><table></table></td></tr><tr><th>next_payment_attempt</th><td></td></tr><tr><th>paid</th><td>true</td></tr><tr><th>period_end</th><td>1500879006</td></tr><tr><th>period_start</th><td>1500879006</td></tr><tr><th>receipt_number</th><td></td></tr><tr><th>starting_balance</th><td>0</td></tr><tr><th>statement_descriptor</th><td></td></tr><tr><th>subscription</th><td>sub_B5Aj7xE5UGPnqa</td></tr><tr><th>subtotal</th><td>0</td></tr><tr><th>tax</th><td></td></tr><tr><th>tax_percent</th><td></td></tr><tr><th>total</th><td>0</td></tr><tr><th>webhooks_delivered_at</th><td></td></tr></table></td></tr></table></td></tr><tr><th>livemode</th><td>false</td></tr><tr><th>pending_webhooks</th><td>1</td></tr><tr><th>request</th><td><table><tr><th>id</th><td>req_M8hkqZ0ZlfqTJH</td></tr><tr><th>idempotency_key</th><td></td></tr></table></td></tr><tr><th>type</th><td>invoice.payment_succeeded</td></tr></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/54.187.174.169&#39;&gt;54.187.174.169&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>Stripe/1.0 (+https://stripe.com/docs/webhooks)</td></tr><tr><th>Accept Encoding</th><td>gzip, deflate</td></tr><tr><th>Accept</th><td>*/*; q=0.5, application/xml</td></tr></table></td></tr></table>"}}
{"actor":{"display_login":"tannakartikey"}}