{"action":"created","issue":{"url":"https://api.github.com/repos/DouglasMeyer/ledger/issues/2","labels_url":"https://api.github.com/repos/DouglasMeyer/ledger/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/DouglasMeyer/ledger/issues/2/comments","events_url":"https://api.github.com/repos/DouglasMeyer/ledger/issues/2/events","html_url":"https://github.com/DouglasMeyer/ledger/issues/2","id":53315516,"number":2,"title":"V3::BankImportsController#create (NoMethodError) \"undefined method `compact' for nil:NilClass\"","user":{"login":"DouglasMeyer","id":12836,"avatar_url":"https://avatars.githubusercontent.com/u/12836?v=3","gravatar_id":"","url":"https://api.github.com/users/DouglasMeyer","html_url":"https://github.com/DouglasMeyer","followers_url":"https://api.github.com/users/DouglasMeyer/followers","following_url":"https://api.github.com/users/DouglasMeyer/following{/other_user}","gists_url":"https://api.github.com/users/DouglasMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/DouglasMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DouglasMeyer/subscriptions","organizations_url":"https://api.github.com/users/DouglasMeyer/orgs","repos_url":"https://api.github.com/users/DouglasMeyer/repos","events_url":"https://api.github.com/users/DouglasMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/DouglasMeyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DouglasMeyer/ledger/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-03T21:10:56Z","updated_at":"2015-01-16T20:31:20Z","closed_at":null,"body":"<table><tr><th>Exception</th><td>undefined method `compact&#39; for nil:NilClass</td></tr><tr><th>Last Occurrence</th><td>January 16, 2015 14:31:20 -0600</td></tr><tr><th>Count</th><td>13</td></tr></table>\n\n## Stack Trace\n<pre><a href='https://github.com/DouglasMeyer/ledger/blob/a27ef38169ab02b0f6f7ba7bcc746c5b910d6ee2/app/models/bank_import.rb#L9'>[app].../app/models/bank_import.rb:9:in `block in upload!'</a>\n[bundle].../gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'\n[bundle].../gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'\n[bundle].../gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'\n[bundle].../gems/activerecord-4.1.6/lib/active_record/transactions.rb:208:in `transaction'\n<a href='https://github.com/DouglasMeyer/ledger/blob/a27ef38169ab02b0f6f7ba7bcc746c5b910d6ee2/app/models/bank_import.rb#L8'>[app].../app/models/bank_import.rb:8:in `upload!'</a>\n<a href='https://github.com/DouglasMeyer/ledger/blob/a27ef38169ab02b0f6f7ba7bcc746c5b910d6ee2/app/controllers/v3/bank_imports_controller.rb#L5'>[app].../app/controllers/v3/bank_imports_controller.rb:5:in `create'</a>\n[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'\n[bundle].../gems/actionpack-4.1.6/lib/abstract_controller/base.rb:189:in `process_action'\n[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/rendering.rb:10:in `process_action'\n[bundle].../gems/actionpack-4.1.6/lib/abstract_controller/callbacks.rb:20:in `block in process_action'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:113:in `call'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:113:in `call'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:166:in `block in halting'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:229:in `call'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:229:in `block in halting'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:166:in `call'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:166:in `block in halting'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:86:in `call'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:86:in `run_callbacks'\n[bundle].../gems/actionpack-4.1.6/lib/abstract_controller/callbacks.rb:19:in `process_action'\n[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/rescue.rb:29:in `process_action'\n[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/notifications.rb:159:in `block in instrument'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/notifications.rb:159:in `instrument'\n[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action'\n[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\n[bundle].../gems/activerecord-4.1.6/lib/active_record/railties/controller_runtime.rb:18:in `process_action'\n[bundle].../gems/actionpack-4.1.6/lib/abstract_controller/base.rb:136:in `process'\n[bundle].../gems/actionview-4.1.6/lib/action_view/rendering.rb:30:in `process'\n[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal.rb:196:in `dispatch'\n[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\n[bundle].../gems/actionpack-4.1.6/lib/action_controller/metal.rb:232:in `block in action'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb:82:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb:50:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/journey/router.rb:73:in `block in call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/journey/router.rb:59:in `each'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/journey/router.rb:59:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb:678:in `call'\n[bundle].../gems/party_foul-1.5.5/lib/party_foul/middleware.rb:8:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/head.rb:11:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/params_parser.rb:27:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/flash.rb:254:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'\n[bundle].../gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/cookies.rb:560:in `call'\n[bundle].../gems/activerecord-4.1.6/lib/active_record/query_cache.rb:36:in `call'\n[bundle].../gems/activerecord-4.1.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/callbacks.rb:82:in `run_callbacks'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\n[bundle].../gems/railties-4.1.6/lib/rails/rack/logger.rb:38:in `call_app'\n[bundle].../gems/railties-4.1.6/lib/rails/rack/logger.rb:20:in `block in call'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb:26:in `tagged'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb:68:in `tagged'\n[bundle].../gems/railties-4.1.6/lib/rails/rack/logger.rb:20:in `call'\n[bundle].../gems/actionpack-4.1.6/lib/action_dispatch/middleware/request_id.rb:21:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'\n[bundle].../gems/activesupport-4.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'\n[bundle].../gems/sentry-raven-0.12.2/lib/raven/integrations/rack.rb:61:in `call'\n[bundle].../gems/railties-4.1.6/lib/rails/engine.rb:514:in `call'\n[bundle].../gems/railties-4.1.6/lib/rails/application.rb:144:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'\n[bundle].../gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'\n<a href='https://github.com/DouglasMeyer/ledger/blob/a27ef38169ab02b0f6f7ba7bcc746c5b910d6ee2/vendor/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb#L138'>[app].../vendor/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'</a>\n<a href='https://github.com/DouglasMeyer/ledger/blob/a27ef38169ab02b0f6f7ba7bcc746c5b910d6ee2/vendor/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb#L94'>[app].../vendor/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'</a>\n<a href='https://github.com/DouglasMeyer/ledger/blob/a27ef38169ab02b0f6f7ba7bcc746c5b910d6ee2/vendor/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb#L295'>[app].../vendor/ruby-2.1.3/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'</a></pre>\nFingerprint: `cda5d210387cff80ed1d27e76bf97a3c07512a3a`\n"},"comment":{"url":"https://api.github.com/repos/DouglasMeyer/ledger/issues/comments/70317454","html_url":"https://github.com/DouglasMeyer/ledger/issues/2#issuecomment-70317454","issue_url":"https://api.github.com/repos/DouglasMeyer/ledger/issues/2","id":70317454,"user":{"login":"DouglasMeyer","id":12836,"avatar_url":"https://avatars.githubusercontent.com/u/12836?v=3","gravatar_id":"","url":"https://api.github.com/users/DouglasMeyer","html_url":"https://github.com/DouglasMeyer","followers_url":"https://api.github.com/users/DouglasMeyer/followers","following_url":"https://api.github.com/users/DouglasMeyer/following{/other_user}","gists_url":"https://api.github.com/users/DouglasMeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/DouglasMeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DouglasMeyer/subscriptions","organizations_url":"https://api.github.com/users/DouglasMeyer/orgs","repos_url":"https://api.github.com/users/DouglasMeyer/repos","events_url":"https://api.github.com/users/DouglasMeyer/events{/privacy}","received_events_url":"https://api.github.com/users/DouglasMeyer/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T20:31:20Z","updated_at":"2015-01-16T20:31:20Z","body":"<table><tr><th>Occurred At</th><td>January 16, 2015 14:31:20 -0600</td></tr><tr><th>URL</th><td>[POST] http://ledger.herokuapp.com/v3/bank_imports</td></tr><tr><th>Params</th><td><table><tr><th>utf8</th><td>✓</td></tr><tr><th>authenticity_token</th><td>amTrUINue8b3LMj/btD1ffk6jOe72OAOV7W/PHwAtZM=</td></tr><tr><th>upload</th><td>#&lt;ActionDispatch::Http::UploadedFile:0x007f5a00c7dbf0&gt;</td></tr><tr><th>action</th><td>create</td></tr><tr><th>controller</th><td>v3/bank_imports</td></tr></table></td></tr><tr><th>Session</th><td>#&lt;ActionDispatch::Request::Session:0x007f5a006e6d18&gt;</td></tr><tr><th>IP Address</th><td>&lt;a href=&#39;http://ipinfo.io/108.202.124.240&#39;&gt;108.202.124.240&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>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36</td></tr><tr><th>Accept Encoding</th><td>gzip, deflate</td></tr><tr><th>Accept</th><td>text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8</td></tr></table></td></tr></table>"}}