plaid_rails 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7338,3 +7338,1643 @@ Completed 500 Internal Server Error in 142ms (Views: 0.4ms | ActiveRecord: 0.0ms
7338
7338
   (0.1ms) RELEASE SAVEPOINT active_record_1
7339
7339
   (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
7340
7340
   (2.9ms) rollback transaction
7341
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
7342
+  (0.1ms) begin transaction
7343
+ Processing by PlaidRails::AccountsController#index as HTML
7344
+ Parameters: {"account"=>{"owner_id"=>"1"}}
7345
+ Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/accounts/index.html.erb within layouts/plaid_rails/application (0.3ms)
7346
+ Completed 200 OK in 21ms (Views: 16.4ms | ActiveRecord: 0.0ms)
7347
+  (0.1ms) SAVEPOINT active_record_1
7348
+ SQL (3.8ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:53:01.327420"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:53:01.327420"]]
7349
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7350
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
7351
+  (0.7ms) rollback transaction
7352
+  (0.0ms) begin transaction
7353
+ Processing by PlaidRails::AccountsController#new as HTML
7354
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
7355
+ Completed 200 OK in 1347ms (Views: 6.8ms | ActiveRecord: 0.0ms)
7356
+  (0.1ms) rollback transaction
7357
+  (0.3ms) begin transaction
7358
+ Processing by PlaidRails::AccountsController#create as HTML
7359
+ Parameters: {"account"=>{"access_token"=>"test_wells", "account_ids"=>["QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User", "token"=>"test,wells,connected"}}
7360
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
7361
+ Completed 500 Internal Server Error in 307ms (ActiveRecord: 0.2ms)
7362
+  (0.1ms) rollback transaction
7363
+  (0.0ms) begin transaction
7364
+  (0.1ms) SAVEPOINT active_record_1
7365
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:53:04.283143"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:53:04.283143"]]
7366
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7367
+ Processing by PlaidRails::AccountsController#destroy as HTML
7368
+ Parameters: {"id"=>"1"}
7369
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
7370
+  (0.0ms) SAVEPOINT active_record_1
7371
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
7372
+ SQL (0.6ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
7373
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7374
+ Completed 200 OK in 267ms (Views: 7.0ms | ActiveRecord: 1.0ms)
7375
+  (0.8ms) rollback transaction
7376
+  (0.1ms) begin transaction
7377
+ Processing by PlaidRails::LinkController#authenticate as JS
7378
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
7379
+ Completed 200 OK in 311ms (Views: 42.0ms | ActiveRecord: 0.0ms)
7380
+  (0.1ms) rollback transaction
7381
+  (0.0ms) begin transaction
7382
+ Processing by PlaidRails::LinkController#authenticate as JS
7383
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
7384
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
7385
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
7386
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
7387
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
7388
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
7389
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
7390
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
7391
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
7392
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
7393
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
7394
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
7395
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
7396
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
7397
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
7398
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
7399
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
7400
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
7401
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
7402
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
7403
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
7404
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
7405
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
7406
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
7407
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
7408
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
7409
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
7410
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
7411
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
7412
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7413
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7414
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
7415
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
7416
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
7417
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7418
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7419
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7420
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7421
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
7422
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
7423
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
7424
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7425
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7426
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7427
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7428
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
7429
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
7430
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
7431
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
7432
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
7433
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
7434
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
7435
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
7436
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
7437
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
7438
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
7439
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
7440
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
7441
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
7442
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
7443
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
7444
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
7445
+ Completed 500 Internal Server Error in 292ms (Views: 3.9ms | ActiveRecord: 0.0ms)
7446
+  (0.1ms) rollback transaction
7447
+  (0.1ms) begin transaction
7448
+  (0.1ms) SAVEPOINT active_record_1
7449
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:53:05.170201"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:53:05.170201"]]
7450
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7451
+ Processing by PlaidRails::LinkController#update as JS
7452
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
7453
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1
7454
+  (0.0ms) SAVEPOINT active_record_1
7455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7456
+ Completed 200 OK in 283ms (Views: 33.4ms | ActiveRecord: 0.3ms)
7457
+  (0.5ms) rollback transaction
7458
+  (0.1ms) begin transaction
7459
+ Processing by PlaidRails::LinkController#authenticate as HTML
7460
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
7461
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
7462
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
7463
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
7464
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
7465
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
7466
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
7467
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
7468
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
7469
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
7470
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
7471
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
7472
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
7473
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
7474
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
7475
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
7476
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
7477
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
7478
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
7479
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
7480
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
7481
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
7482
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
7483
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
7484
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
7485
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
7486
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
7487
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
7488
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
7489
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
7490
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
7491
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
7492
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:31:in `block (2 levels) in <module:PlaidRails>'
7493
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7494
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7495
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
7496
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
7497
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
7498
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7499
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7500
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7501
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7502
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
7503
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
7504
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
7505
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7506
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7507
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7508
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7509
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
7510
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
7511
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
7512
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
7513
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
7514
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
7515
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
7516
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
7517
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
7518
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
7519
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
7520
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
7521
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
7522
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
7523
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
7524
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
7525
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
7526
+ Completed 500 Internal Server Error in 511ms (Views: 0.8ms | ActiveRecord: 0.0ms)
7527
+  (0.1ms) rollback transaction
7528
+  (0.1ms) begin transaction
7529
+ Processing by PlaidRails::LinkController#update as HTML
7530
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
7531
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
7532
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
7533
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
7534
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
7535
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
7536
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
7537
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
7538
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
7539
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
7540
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
7541
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
7542
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
7543
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
7544
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
7545
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
7546
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
7547
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
7548
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
7549
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
7550
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
7551
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
7552
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
7553
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
7554
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
7555
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
7556
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
7557
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
7558
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
7559
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
7560
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
7561
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
7562
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:34:in `block (2 levels) in <module:PlaidRails>'
7563
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7564
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7565
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
7566
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
7567
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
7568
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7569
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7570
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7571
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7572
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
7573
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
7574
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
7575
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7576
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7577
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7578
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7579
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
7580
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
7581
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
7582
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
7583
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
7584
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
7585
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
7586
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
7587
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
7588
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
7589
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
7590
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
7591
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
7592
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
7593
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
7594
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
7595
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
7596
+ Completed 500 Internal Server Error in 261ms (Views: 0.4ms | ActiveRecord: 0.0ms)
7597
+  (0.1ms) rollback transaction
7598
+  (0.1ms) begin transaction
7599
+  (0.1ms) rollback transaction
7600
+  (0.0ms) begin transaction
7601
+  (0.0ms) SAVEPOINT active_record_1
7602
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:53:06.256260"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:53:06.256260"]]
7603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7604
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
7605
+  (2.3ms) rollback transaction
7606
+  (0.1ms) begin transaction
7607
+  (0.1ms) SAVEPOINT active_record_1
7608
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:53:06.263473"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:53:06.263473"]]
7609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7610
+  (0.0ms) SAVEPOINT active_record_1
7611
+ SQL (0.3ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
7612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7613
+  (0.6ms) rollback transaction
7614
+  (0.1ms) begin transaction
7615
+  (0.1ms) SAVEPOINT active_record_1
7616
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:53:06.268902"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:53:06.268902"]]
7617
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7618
+  (0.0ms) SAVEPOINT active_record_1
7619
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:53:06.271350"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:53:06.271350"]]
7620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7621
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
7622
+  (0.7ms) rollback transaction
7623
+  (0.0ms) begin transaction
7624
+  (0.1ms) rollback transaction
7625
+  (0.1ms) begin transaction
7626
+  (0.1ms) rollback transaction
7627
+  (0.1ms) begin transaction
7628
+  (0.0ms) rollback transaction
7629
+  (0.1ms) begin transaction
7630
+  (0.0ms) SAVEPOINT active_record_1
7631
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:53:06.289361"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:53:06.289361"]]
7632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7633
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
7634
+  (0.6ms) rollback transaction
7635
+  (0.0ms) begin transaction
7636
+  (0.1ms) rollback transaction
7637
+  (0.0ms) begin transaction
7638
+ Processing by PlaidRails::WebhooksController#create as HTML
7639
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
7640
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
7641
+  (0.1ms) rollback transaction
7642
+  (0.1ms) begin transaction
7643
+  (0.1ms) rollback transaction
7644
+  (0.1ms) begin transaction
7645
+  (0.1ms) rollback transaction
7646
+  (0.1ms) begin transaction
7647
+  (0.1ms) rollback transaction
7648
+  (0.1ms) begin transaction
7649
+  (0.0ms) SAVEPOINT active_record_1
7650
+ SQL (0.7ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-02-02 02:53:06.342531"], ["message", "hello"], ["updated_at", "2017-02-02 02:53:06.342531"]]
7651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7652
+  (0.3ms) rollback transaction
7653
+  (0.0ms) begin transaction
7654
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
7655
+  (0.1ms) rollback transaction
7656
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
7657
+  (0.1ms) begin transaction
7658
+ Processing by PlaidRails::AccountsController#index as HTML
7659
+ Parameters: {"account"=>{"owner_id"=>"1"}}
7660
+ Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/accounts/index.html.erb within layouts/plaid_rails/application (0.3ms)
7661
+ Completed 200 OK in 20ms (Views: 15.2ms | ActiveRecord: 0.0ms)
7662
+  (0.1ms) SAVEPOINT active_record_1
7663
+ SQL (2.0ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:11.059658"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:11.059658"]]
7664
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7665
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
7666
+  (0.4ms) rollback transaction
7667
+  (0.1ms) begin transaction
7668
+  (0.1ms) SAVEPOINT active_record_1
7669
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:11.071142"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:11.071142"]]
7670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7671
+ Processing by PlaidRails::AccountsController#destroy as HTML
7672
+ Parameters: {"id"=>"1"}
7673
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
7674
+  (0.1ms) SAVEPOINT active_record_1
7675
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
7676
+ SQL (0.5ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
7677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7678
+ Completed 200 OK in 758ms (Views: 4.5ms | ActiveRecord: 1.1ms)
7679
+  (0.7ms) rollback transaction
7680
+  (0.1ms) begin transaction
7681
+ Processing by PlaidRails::AccountsController#create as HTML
7682
+ Parameters: {"account"=>{"access_token"=>"test_wells", "account_ids"=>["QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User", "token"=>"test,wells,connected"}}
7683
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
7684
+ Completed 500 Internal Server Error in 295ms (ActiveRecord: 0.2ms)
7685
+  (0.1ms) rollback transaction
7686
+  (0.0ms) begin transaction
7687
+ Processing by PlaidRails::AccountsController#new as HTML
7688
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
7689
+ Completed 200 OK in 280ms (Views: 6.5ms | ActiveRecord: 0.0ms)
7690
+  (0.1ms) rollback transaction
7691
+  (0.1ms) begin transaction
7692
+ Processing by PlaidRails::LinkController#authenticate as JS
7693
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
7694
+ Completed 200 OK in 335ms (Views: 38.0ms | ActiveRecord: 0.0ms)
7695
+  (0.1ms) rollback transaction
7696
+  (0.0ms) begin transaction
7697
+ Processing by PlaidRails::LinkController#authenticate as HTML
7698
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
7699
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
7700
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
7701
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
7702
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
7703
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
7704
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
7705
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
7706
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
7707
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
7708
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
7709
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
7710
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
7711
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
7712
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
7713
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
7714
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
7715
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
7716
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
7717
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
7718
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
7719
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
7720
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
7721
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
7722
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
7723
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
7724
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
7725
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
7726
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
7727
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
7728
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
7729
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
7730
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:31:in `block (2 levels) in <module:PlaidRails>'
7731
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7732
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7733
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
7734
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
7735
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
7736
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7737
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7738
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7739
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7740
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
7741
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
7742
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
7743
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7744
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7745
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7746
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7747
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
7748
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
7749
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
7750
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
7751
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
7752
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
7753
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
7754
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
7755
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
7756
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
7757
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
7758
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
7759
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
7760
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
7761
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
7762
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
7763
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
7764
+ Completed 500 Internal Server Error in 266ms (Views: 3.9ms | ActiveRecord: 0.0ms)
7765
+  (0.1ms) rollback transaction
7766
+  (0.1ms) begin transaction
7767
+  (0.1ms) SAVEPOINT active_record_1
7768
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:13.297053"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:13.297053"]]
7769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7770
+ Processing by PlaidRails::LinkController#update as JS
7771
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
7772
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1
7773
+  (0.0ms) SAVEPOINT active_record_1
7774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7775
+ Completed 200 OK in 291ms (Views: 31.8ms | ActiveRecord: 0.3ms)
7776
+  (0.5ms) rollback transaction
7777
+  (0.0ms) begin transaction
7778
+ Processing by PlaidRails::LinkController#authenticate as JS
7779
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
7780
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
7781
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
7782
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
7783
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
7784
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
7785
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
7786
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
7787
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
7788
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
7789
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
7790
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
7791
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
7792
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
7793
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
7794
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
7795
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
7796
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
7797
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
7798
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
7799
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
7800
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
7801
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
7802
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
7803
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
7804
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
7805
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
7806
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
7807
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
7808
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7809
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7810
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
7811
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
7812
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
7813
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7814
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7815
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7816
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7817
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
7818
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
7819
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
7820
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7821
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7822
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7823
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7824
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
7825
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
7826
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
7827
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
7828
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
7829
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
7830
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
7831
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
7832
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
7833
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
7834
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
7835
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
7836
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
7837
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
7838
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
7839
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
7840
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
7841
+ Completed 500 Internal Server Error in 251ms (Views: 0.5ms | ActiveRecord: 0.0ms)
7842
+  (0.1ms) rollback transaction
7843
+  (0.1ms) begin transaction
7844
+ Processing by PlaidRails::LinkController#update as HTML
7845
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
7846
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
7847
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
7848
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
7849
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
7850
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
7851
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
7852
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
7853
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
7854
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
7855
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
7856
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
7857
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
7858
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
7859
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
7860
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
7861
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
7862
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
7863
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
7864
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
7865
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
7866
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
7867
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
7868
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
7869
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
7870
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
7871
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
7872
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
7873
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
7874
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
7875
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
7876
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
7877
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:34:in `block (2 levels) in <module:PlaidRails>'
7878
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7879
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7880
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
7881
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
7882
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
7883
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7884
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7885
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7886
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7887
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
7888
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
7889
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
7890
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
7891
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
7892
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
7893
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
7894
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
7895
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
7896
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
7897
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
7898
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
7899
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
7900
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
7901
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
7902
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
7903
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
7904
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
7905
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
7906
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
7907
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
7908
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
7909
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
7910
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
7911
+ Completed 500 Internal Server Error in 276ms (Views: 0.4ms | ActiveRecord: 0.0ms)
7912
+  (0.1ms) rollback transaction
7913
+  (0.1ms) begin transaction
7914
+ Processing by PlaidRails::WebhooksController#create as HTML
7915
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
7916
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
7917
+  (0.1ms) rollback transaction
7918
+  (0.0ms) begin transaction
7919
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
7920
+  (0.1ms) rollback transaction
7921
+  (0.1ms) begin transaction
7922
+  (0.1ms) rollback transaction
7923
+  (0.1ms) begin transaction
7924
+  (0.1ms) rollback transaction
7925
+  (0.0ms) begin transaction
7926
+  (0.1ms) SAVEPOINT active_record_1
7927
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:14.697008"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:14.697008"]]
7928
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7929
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
7930
+  (2.2ms) rollback transaction
7931
+  (0.1ms) begin transaction
7932
+  (0.1ms) SAVEPOINT active_record_1
7933
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:14.704330"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:14.704330"]]
7934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7935
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
7936
+  (0.4ms) rollback transaction
7937
+  (0.0ms) begin transaction
7938
+  (0.0ms) SAVEPOINT active_record_1
7939
+ SQL (0.7ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:14.709145"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:14.709145"]]
7940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7941
+  (0.0ms) SAVEPOINT active_record_1
7942
+ SQL (1.9ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
7943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7944
+  (0.8ms) rollback transaction
7945
+  (0.1ms) begin transaction
7946
+  (0.1ms) SAVEPOINT active_record_1
7947
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:14.717407"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:14.717407"]]
7948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7949
+  (0.0ms) SAVEPOINT active_record_1
7950
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:14.719737"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:14.719737"]]
7951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7952
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
7953
+  (0.6ms) rollback transaction
7954
+  (0.1ms) begin transaction
7955
+  (0.1ms) rollback transaction
7956
+  (0.1ms) begin transaction
7957
+  (0.1ms) rollback transaction
7958
+  (0.0ms) begin transaction
7959
+  (0.1ms) rollback transaction
7960
+  (0.1ms) begin transaction
7961
+  (0.1ms) rollback transaction
7962
+  (0.1ms) begin transaction
7963
+  (0.1ms) rollback transaction
7964
+  (0.1ms) begin transaction
7965
+  (0.1ms) rollback transaction
7966
+  (0.0ms) begin transaction
7967
+  (0.1ms) SAVEPOINT active_record_1
7968
+ SQL (0.6ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-02-02 02:54:14.781990"], ["message", "hello"], ["updated_at", "2017-02-02 02:54:14.781990"]]
7969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7970
+  (0.3ms) rollback transaction
7971
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
7972
+  (0.1ms) begin transaction
7973
+  (0.1ms) rollback transaction
7974
+  (0.0ms) begin transaction
7975
+  (0.1ms) rollback transaction
7976
+  (0.0ms) begin transaction
7977
+  (0.0ms) rollback transaction
7978
+  (0.0ms) begin transaction
7979
+  (0.1ms) SAVEPOINT active_record_1
7980
+ SQL (0.8ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-02-02 02:54:27.952255"], ["message", "hello"], ["updated_at", "2017-02-02 02:54:27.952255"]]
7981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7982
+  (0.3ms) rollback transaction
7983
+  (0.0ms) begin transaction
7984
+ PlaidRails::Account Exists (0.3ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
7985
+  (0.1ms) SAVEPOINT active_record_1
7986
+ SQL (3.3ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:28.857767"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 02:54:28.857767"]]
7987
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7988
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
7989
+  (0.1ms) SAVEPOINT active_record_1
7990
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:29.495059"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 02:54:29.495059"]]
7991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7992
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
7993
+  (0.1ms) SAVEPOINT active_record_1
7994
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:30.125739"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 02:54:30.125739"]]
7995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7996
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
7997
+  (0.1ms) SAVEPOINT active_record_1
7998
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:30.684165"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 02:54:30.684165"]]
7999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8000
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
8001
+  (0.8ms) rollback transaction
8002
+  (0.0ms) begin transaction
8003
+  (0.1ms) rollback transaction
8004
+  (0.0ms) begin transaction
8005
+  (0.0ms) SAVEPOINT active_record_1
8006
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:30.693987"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:30.693987"]]
8007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8008
+  (0.0ms) SAVEPOINT active_record_1
8009
+ SQL (0.4ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
8010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8011
+  (0.7ms) rollback transaction
8012
+  (0.1ms) begin transaction
8013
+  (0.1ms) rollback transaction
8014
+  (0.0ms) begin transaction
8015
+  (0.0ms) rollback transaction
8016
+  (0.1ms) begin transaction
8017
+  (0.0ms) rollback transaction
8018
+  (0.0ms) begin transaction
8019
+  (0.1ms) SAVEPOINT active_record_1
8020
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:30.718474"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:30.718474"]]
8021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8022
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8023
+  (0.5ms) rollback transaction
8024
+  (0.0ms) begin transaction
8025
+  (0.0ms) SAVEPOINT active_record_1
8026
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:30.723263"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:30.723263"]]
8027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8028
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8029
+  (0.4ms) rollback transaction
8030
+  (0.0ms) begin transaction
8031
+  (0.1ms) rollback transaction
8032
+  (0.1ms) begin transaction
8033
+  (0.0ms) SAVEPOINT active_record_1
8034
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:30.735580"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:30.735580"]]
8035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8036
+  (0.0ms) SAVEPOINT active_record_1
8037
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:30.737942"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:30.737942"]]
8038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8039
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8040
+  (0.6ms) rollback transaction
8041
+  (0.1ms) begin transaction
8042
+ Processing by PlaidRails::WebhooksController#create as HTML
8043
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
8044
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8045
+  (0.1ms) rollback transaction
8046
+  (0.1ms) begin transaction
8047
+ Processing by PlaidRails::LinkController#authenticate as HTML
8048
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
8049
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
8050
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
8051
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
8052
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
8053
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
8054
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
8055
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8056
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
8057
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
8058
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8059
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
8060
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
8061
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
8062
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8063
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
8064
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8065
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
8066
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8067
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8068
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8069
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
8070
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
8071
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
8072
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
8073
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
8074
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
8075
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
8076
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
8077
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
8078
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
8079
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
8080
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:31:in `block (2 levels) in <module:PlaidRails>'
8081
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8082
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8083
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
8084
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
8085
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
8086
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8087
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8088
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8089
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8090
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
8091
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
8092
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
8093
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8094
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8095
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8096
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8097
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
8098
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
8099
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
8100
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
8101
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
8102
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
8103
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
8104
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
8105
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
8106
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
8107
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
8108
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
8109
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
8110
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
8111
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
8112
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
8113
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
8114
+ Completed 500 Internal Server Error in 256ms (Views: 10.3ms | ActiveRecord: 0.0ms)
8115
+  (0.1ms) rollback transaction
8116
+  (0.1ms) begin transaction
8117
+ Processing by PlaidRails::LinkController#authenticate as JS
8118
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
8119
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
8120
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
8121
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
8122
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
8123
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
8124
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
8125
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
8126
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8127
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
8128
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
8129
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8130
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
8131
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
8132
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
8133
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8134
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
8135
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8136
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
8137
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8138
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8139
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8140
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
8141
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
8142
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
8143
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
8144
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
8145
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
8146
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
8147
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8148
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8149
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
8150
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
8151
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
8152
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8153
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8154
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8155
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8156
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
8157
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
8158
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
8159
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8160
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8161
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8162
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8163
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
8164
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
8165
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
8166
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
8167
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
8168
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
8169
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
8170
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
8171
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
8172
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
8173
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
8174
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
8175
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
8176
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
8177
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
8178
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
8179
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
8180
+ Completed 500 Internal Server Error in 248ms (Views: 0.5ms | ActiveRecord: 0.0ms)
8181
+  (0.1ms) rollback transaction
8182
+  (0.1ms) begin transaction
8183
+ Processing by PlaidRails::LinkController#update as HTML
8184
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
8185
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
8186
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
8187
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
8188
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
8189
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
8190
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
8191
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8192
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
8193
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
8194
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8195
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
8196
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
8197
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
8198
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8199
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
8200
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8201
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
8202
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8203
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8204
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8205
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
8206
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
8207
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
8208
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
8209
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
8210
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
8211
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
8212
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
8213
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
8214
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
8215
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
8216
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:34:in `block (2 levels) in <module:PlaidRails>'
8217
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8218
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8219
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
8220
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
8221
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
8222
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8223
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8224
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8225
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8226
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
8227
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
8228
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
8229
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8230
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8231
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8232
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8233
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
8234
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
8235
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
8236
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
8237
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
8238
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
8239
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
8240
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
8241
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
8242
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
8243
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
8244
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
8245
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
8246
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
8247
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
8248
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
8249
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
8250
+ Completed 500 Internal Server Error in 262ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8251
+  (7.0ms) rollback transaction
8252
+  (0.1ms) begin transaction
8253
+  (0.1ms) SAVEPOINT active_record_1
8254
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:31.542086"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:31.542086"]]
8255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8256
+ Processing by PlaidRails::LinkController#update as JS
8257
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
8258
+ PlaidRails::Account Load (0.3ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1
8259
+  (0.1ms) SAVEPOINT active_record_1
8260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8261
+ Completed 200 OK in 321ms (Views: 40.8ms | ActiveRecord: 0.4ms)
8262
+  (0.5ms) rollback transaction
8263
+  (0.1ms) begin transaction
8264
+ Processing by PlaidRails::LinkController#authenticate as JS
8265
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
8266
+ Completed 200 OK in 282ms (Views: 30.4ms | ActiveRecord: 0.0ms)
8267
+  (0.1ms) rollback transaction
8268
+  (0.1ms) begin transaction
8269
+ Processing by PlaidRails::AccountsController#new as HTML
8270
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
8271
+ Completed 200 OK in 266ms (Views: 16.4ms | ActiveRecord: 0.0ms)
8272
+  (0.1ms) rollback transaction
8273
+  (0.1ms) begin transaction
8274
+ Processing by PlaidRails::AccountsController#index as HTML
8275
+ Parameters: {"account"=>{"owner_id"=>"1"}}
8276
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
8277
+  (0.1ms) SAVEPOINT active_record_1
8278
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:32.433777"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:32.433777"]]
8279
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8280
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
8281
+  (0.4ms) rollback transaction
8282
+  (0.0ms) begin transaction
8283
+ Processing by PlaidRails::AccountsController#create as HTML
8284
+ Parameters: {"account"=>{"access_token"=>"test_wells", "account_ids"=>["QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User", "token"=>"test,wells,connected"}}
8285
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
8286
+  (0.1ms) SAVEPOINT active_record_1
8287
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:33.276766"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 02:54:33.276766"]]
8288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8289
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
8290
+  (0.1ms) SAVEPOINT active_record_1
8291
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:33.825014"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 02:54:33.825014"]]
8292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8293
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
8294
+  (0.1ms) SAVEPOINT active_record_1
8295
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:34.388870"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 02:54:34.388870"]]
8296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8297
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
8298
+  (0.1ms) SAVEPOINT active_record_1
8299
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:35.121286"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 02:54:35.121286"]]
8300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8301
+ Completed 200 OK in 2421ms (Views: 4.5ms | ActiveRecord: 2.6ms)
8302
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
8303
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User' ORDER BY "plaid_rails_accounts"."id" ASC LIMIT 1
8304
+  (0.7ms) rollback transaction
8305
+  (0.0ms) begin transaction
8306
+  (0.1ms) SAVEPOINT active_record_1
8307
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:54:35.132241"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:54:35.132241"]]
8308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8309
+ Processing by PlaidRails::AccountsController#destroy as HTML
8310
+ Parameters: {"id"=>"1"}
8311
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
8312
+  (0.0ms) SAVEPOINT active_record_1
8313
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8314
+ SQL (0.5ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
8315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8316
+ Completed 200 OK in 253ms (Views: 6.2ms | ActiveRecord: 0.8ms)
8317
+  (0.6ms) rollback transaction
8318
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
8319
+  (0.1ms) begin transaction
8320
+  (0.1ms) rollback transaction
8321
+  (0.0ms) begin transaction
8322
+  (0.0ms) SAVEPOINT active_record_1
8323
+ SQL (2.7ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:57:35.892289"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:57:35.892289"]]
8324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8325
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8326
+  (0.5ms) rollback transaction
8327
+  (0.1ms) begin transaction
8328
+  (0.0ms) SAVEPOINT active_record_1
8329
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:57:35.907629"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:57:35.907629"]]
8330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8331
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8332
+  (0.5ms) rollback transaction
8333
+  (0.1ms) begin transaction
8334
+  (0.1ms) SAVEPOINT active_record_1
8335
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:57:35.913210"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:57:35.913210"]]
8336
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8337
+  (0.0ms) SAVEPOINT active_record_1
8338
+ SQL (0.4ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
8339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8340
+  (0.7ms) rollback transaction
8341
+  (0.0ms) begin transaction
8342
+  (0.0ms) rollback transaction
8343
+  (0.0ms) begin transaction
8344
+  (0.1ms) rollback transaction
8345
+  (0.1ms) begin transaction
8346
+  (0.1ms) rollback transaction
8347
+  (0.1ms) begin transaction
8348
+  (0.1ms) rollback transaction
8349
+  (0.1ms) begin transaction
8350
+  (0.1ms) SAVEPOINT active_record_1
8351
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:57:35.940769"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:57:35.940769"]]
8352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8353
+  (0.0ms) SAVEPOINT active_record_1
8354
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:57:35.943314"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:57:35.943314"]]
8355
+  (0.2ms) RELEASE SAVEPOINT active_record_1
8356
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8357
+  (0.7ms) rollback transaction
8358
+  (0.1ms) begin transaction
8359
+ PlaidRails::Account Exists (0.3ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
8360
+  (0.1ms) rollback transaction
8361
+  (0.1ms) begin transaction
8362
+  (0.1ms) SAVEPOINT active_record_1
8363
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:57:36.967418"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:57:36.967418"]]
8364
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8365
+ Processing by PlaidRails::AccountsController#destroy as HTML
8366
+ Parameters: {"id"=>"1"}
8367
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
8368
+  (0.0ms) SAVEPOINT active_record_1
8369
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8370
+ SQL (0.5ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
8371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8372
+ Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/accounts/destroy.html.erb within layouts/plaid_rails/application (0.4ms)
8373
+ Completed 200 OK in 275ms (Views: 15.8ms | ActiveRecord: 0.9ms)
8374
+  (0.7ms) rollback transaction
8375
+  (0.1ms) begin transaction
8376
+ Processing by PlaidRails::AccountsController#new as HTML
8377
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
8378
+ Completed 200 OK in 276ms (Views: 5.1ms | ActiveRecord: 0.0ms)
8379
+  (0.1ms) rollback transaction
8380
+  (0.1ms) begin transaction
8381
+ Processing by PlaidRails::AccountsController#create as HTML
8382
+ Parameters: {"account"=>{"access_token"=>"test_wells", "account_ids"=>["QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User", "token"=>"test,wells,connected"}}
8383
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
8384
+ Completed 500 Internal Server Error in 292ms (ActiveRecord: 0.2ms)
8385
+  (0.1ms) rollback transaction
8386
+  (0.0ms) begin transaction
8387
+ Processing by PlaidRails::AccountsController#index as HTML
8388
+ Parameters: {"account"=>{"owner_id"=>"1"}}
8389
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
8390
+  (0.1ms) SAVEPOINT active_record_1
8391
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:57:38.087005"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:57:38.087005"]]
8392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8393
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
8394
+  (1.1ms) rollback transaction
8395
+  (0.1ms) begin transaction
8396
+ Processing by PlaidRails::LinkController#authenticate as JS
8397
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
8398
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
8399
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
8400
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
8401
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
8402
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
8403
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
8404
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
8405
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8406
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
8407
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
8408
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8409
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
8410
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
8411
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
8412
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8413
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
8414
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8415
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
8416
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8417
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8418
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8419
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
8420
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
8421
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
8422
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
8423
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
8424
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
8425
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
8426
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8427
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8428
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
8429
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
8430
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
8431
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8432
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8433
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8434
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8435
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
8436
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
8437
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
8438
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8439
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8440
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8441
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8442
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
8443
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
8444
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
8445
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
8446
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
8447
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
8448
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
8449
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
8450
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
8451
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
8452
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
8453
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
8454
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
8455
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
8456
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
8457
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
8458
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
8459
+ Completed 500 Internal Server Error in 258ms (Views: 4.0ms | ActiveRecord: 0.0ms)
8460
+  (0.1ms) rollback transaction
8461
+  (0.1ms) begin transaction
8462
+ Processing by PlaidRails::LinkController#update as HTML
8463
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
8464
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
8465
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
8466
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
8467
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
8468
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
8469
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
8470
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8471
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
8472
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
8473
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8474
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
8475
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
8476
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
8477
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8478
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
8479
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8480
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
8481
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8482
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8483
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8484
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
8485
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
8486
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
8487
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
8488
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
8489
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
8490
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
8491
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
8492
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
8493
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
8494
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
8495
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:34:in `block (2 levels) in <module:PlaidRails>'
8496
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8497
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8498
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
8499
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
8500
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
8501
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8502
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8503
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8504
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8505
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
8506
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
8507
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
8508
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8509
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8510
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8511
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8512
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
8513
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
8514
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
8515
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
8516
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
8517
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
8518
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
8519
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
8520
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
8521
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
8522
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
8523
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
8524
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
8525
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
8526
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
8527
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
8528
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
8529
+ Completed 500 Internal Server Error in 522ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8530
+  (0.1ms) rollback transaction
8531
+  (0.0ms) begin transaction
8532
+  (0.1ms) SAVEPOINT active_record_1
8533
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 02:57:38.884663"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 02:57:38.884663"]]
8534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8535
+ Processing by PlaidRails::LinkController#update as JS
8536
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
8537
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1
8538
+  (0.0ms) SAVEPOINT active_record_1
8539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8540
+ Completed 200 OK in 311ms (Views: 37.4ms | ActiveRecord: 0.3ms)
8541
+  (0.5ms) rollback transaction
8542
+  (0.1ms) begin transaction
8543
+ Processing by PlaidRails::LinkController#authenticate as HTML
8544
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
8545
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
8546
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
8547
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
8548
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
8549
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
8550
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
8551
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8552
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
8553
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
8554
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8555
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
8556
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
8557
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
8558
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8559
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
8560
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8561
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
8562
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8563
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8564
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8565
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
8566
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
8567
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
8568
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
8569
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
8570
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
8571
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
8572
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
8573
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
8574
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
8575
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
8576
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:31:in `block (2 levels) in <module:PlaidRails>'
8577
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8578
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8579
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
8580
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
8581
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
8582
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8583
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8584
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8585
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8586
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
8587
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
8588
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
8589
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8590
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8591
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8592
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8593
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
8594
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
8595
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
8596
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
8597
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
8598
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
8599
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
8600
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
8601
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
8602
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
8603
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
8604
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
8605
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
8606
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
8607
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
8608
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
8609
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
8610
+ Completed 500 Internal Server Error in 251ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8611
+  (0.1ms) rollback transaction
8612
+  (0.0ms) begin transaction
8613
+ Processing by PlaidRails::LinkController#authenticate as JS
8614
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
8615
+ Completed 200 OK in 274ms (Views: 29.5ms | ActiveRecord: 0.0ms)
8616
+  (0.3ms) rollback transaction
8617
+  (0.1ms) begin transaction
8618
+  (0.1ms) SAVEPOINT active_record_1
8619
+ SQL (0.6ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-02-02 02:57:39.743698"], ["message", "hello"], ["updated_at", "2017-02-02 02:57:39.743698"]]
8620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8621
+  (0.3ms) rollback transaction
8622
+  (0.0ms) begin transaction
8623
+  (0.1ms) rollback transaction
8624
+  (0.0ms) begin transaction
8625
+  (0.1ms) rollback transaction
8626
+  (0.0ms) begin transaction
8627
+  (0.1ms) rollback transaction
8628
+  (0.0ms) begin transaction
8629
+ Processing by PlaidRails::WebhooksController#create as HTML
8630
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
8631
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8632
+  (0.1ms) rollback transaction
8633
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
8634
+  (0.1ms) begin transaction
8635
+ PlaidRails::Account Exists (0.9ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
8636
+  (0.1ms) SAVEPOINT active_record_1
8637
+ SQL (1.9ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:48.574297"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 03:01:48.574297"]]
8638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8639
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
8640
+  (0.1ms) SAVEPOINT active_record_1
8641
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:49.132555"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 03:01:49.132555"]]
8642
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8643
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
8644
+  (0.1ms) SAVEPOINT active_record_1
8645
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:49.935769"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 03:01:49.935769"]]
8646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8647
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
8648
+  (0.1ms) SAVEPOINT active_record_1
8649
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:50.544464"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 03:01:50.544464"]]
8650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8651
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
8652
+  (0.7ms) rollback transaction
8653
+  (0.1ms) begin transaction
8654
+ Processing by PlaidRails::LinkController#update as HTML
8655
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
8656
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
8657
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
8658
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
8659
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
8660
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
8661
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
8662
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8663
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
8664
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
8665
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8666
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
8667
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
8668
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
8669
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8670
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
8671
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8672
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
8673
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8674
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8675
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8676
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
8677
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
8678
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
8679
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
8680
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
8681
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
8682
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
8683
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
8684
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
8685
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
8686
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
8687
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:34:in `block (2 levels) in <module:PlaidRails>'
8688
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8689
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8690
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
8691
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
8692
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
8693
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8694
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8695
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8696
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8697
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
8698
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
8699
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
8700
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8701
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8702
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8703
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8704
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
8705
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
8706
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
8707
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
8708
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
8709
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
8710
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
8711
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
8712
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
8713
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
8714
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
8715
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
8716
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
8717
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
8718
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
8719
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
8720
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
8721
+ Rendered text template (0.0ms)
8722
+ Completed 500 Internal Server Error in 270ms (Views: 9.6ms | ActiveRecord: 0.0ms)
8723
+  (0.1ms) rollback transaction
8724
+  (0.1ms) begin transaction
8725
+ Processing by PlaidRails::LinkController#authenticate as JS
8726
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
8727
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
8728
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
8729
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
8730
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
8731
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
8732
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
8733
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
8734
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8735
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
8736
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
8737
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8738
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
8739
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
8740
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
8741
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8742
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
8743
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8744
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
8745
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8746
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8747
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8748
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
8749
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
8750
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
8751
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
8752
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
8753
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
8754
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
8755
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8756
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8757
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
8758
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
8759
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
8760
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8761
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8762
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8763
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8764
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
8765
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
8766
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
8767
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8768
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8769
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8770
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8771
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
8772
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
8773
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
8774
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
8775
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
8776
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
8777
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
8778
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
8779
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
8780
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
8781
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
8782
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
8783
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
8784
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
8785
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
8786
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
8787
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
8788
+ Completed 500 Internal Server Error in 252ms (Views: 0.5ms | ActiveRecord: 0.0ms)
8789
+  (0.1ms) rollback transaction
8790
+  (0.1ms) begin transaction
8791
+ Processing by PlaidRails::LinkController#authenticate as HTML
8792
+ Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
8793
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
8794
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
8795
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
8796
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
8797
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
8798
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
8799
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
8800
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
8801
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
8802
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
8803
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
8804
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
8805
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
8806
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
8807
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
8808
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
8809
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
8810
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
8811
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
8812
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
8813
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
8814
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
8815
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
8816
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
8817
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
8818
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
8819
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
8820
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
8821
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
8822
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
8823
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
8824
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:31:in `block (2 levels) in <module:PlaidRails>'
8825
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8826
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8827
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
8828
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
8829
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
8830
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8831
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8832
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8833
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8834
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
8835
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
8836
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
8837
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
8838
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
8839
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
8840
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
8841
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
8842
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
8843
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
8844
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
8845
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
8846
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
8847
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
8848
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
8849
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
8850
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
8851
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
8852
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
8853
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
8854
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
8855
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
8856
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
8857
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
8858
+ Completed 500 Internal Server Error in 267ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8859
+  (0.1ms) rollback transaction
8860
+  (0.0ms) begin transaction
8861
+  (0.1ms) SAVEPOINT active_record_1
8862
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:51.368187"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 03:01:51.368187"]]
8863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8864
+ Processing by PlaidRails::LinkController#update as JS
8865
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
8866
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1
8867
+  (0.0ms) SAVEPOINT active_record_1
8868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8869
+ Completed 200 OK in 300ms (Views: 46.4ms | ActiveRecord: 0.3ms)
8870
+  (0.5ms) rollback transaction
8871
+  (0.1ms) begin transaction
8872
+ Processing by PlaidRails::LinkController#authenticate as JS
8873
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
8874
+ Completed 200 OK in 274ms (Views: 36.0ms | ActiveRecord: 0.0ms)
8875
+  (0.1ms) rollback transaction
8876
+  (0.1ms) begin transaction
8877
+  (0.1ms) SAVEPOINT active_record_1
8878
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:51.955077"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 03:01:51.955077"]]
8879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8880
+  (0.0ms) SAVEPOINT active_record_1
8881
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:51.957949"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 03:01:51.957949"]]
8882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8883
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8884
+  (0.6ms) rollback transaction
8885
+  (0.1ms) begin transaction
8886
+  (0.0ms) SAVEPOINT active_record_1
8887
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:51.962150"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 03:01:51.962150"]]
8888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8889
+  (0.0ms) SAVEPOINT active_record_1
8890
+ SQL (0.4ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
8891
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8892
+  (0.6ms) rollback transaction
8893
+  (0.1ms) begin transaction
8894
+  (0.1ms) SAVEPOINT active_record_1
8895
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:51.968233"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 03:01:51.968233"]]
8896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8897
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8898
+  (0.4ms) rollback transaction
8899
+  (0.1ms) begin transaction
8900
+  (0.2ms) rollback transaction
8901
+  (0.1ms) begin transaction
8902
+  (0.1ms) SAVEPOINT active_record_1
8903
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:51.982349"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 03:01:51.982349"]]
8904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8905
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8906
+  (0.4ms) rollback transaction
8907
+  (0.0ms) begin transaction
8908
+  (0.1ms) rollback transaction
8909
+  (0.0ms) begin transaction
8910
+  (0.1ms) rollback transaction
8911
+  (0.1ms) begin transaction
8912
+  (0.1ms) rollback transaction
8913
+  (0.0ms) begin transaction
8914
+  (0.1ms) rollback transaction
8915
+  (0.0ms) begin transaction
8916
+ Processing by PlaidRails::AccountsController#index as HTML
8917
+ Parameters: {"account"=>{"owner_id"=>"1"}}
8918
+ Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)
8919
+  (0.1ms) SAVEPOINT active_record_1
8920
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:52.025173"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 03:01:52.025173"]]
8921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8922
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
8923
+  (0.4ms) rollback transaction
8924
+  (0.1ms) begin transaction
8925
+ Processing by PlaidRails::AccountsController#create as HTML
8926
+ Parameters: {"account"=>{"access_token"=>"test_wells", "account_ids"=>["QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User", "token"=>"test,wells,connected"}}
8927
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
8928
+  (0.1ms) SAVEPOINT active_record_1
8929
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:52.855299"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 03:01:52.855299"]]
8930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8931
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
8932
+  (0.1ms) SAVEPOINT active_record_1
8933
+ SQL (0.6ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:53.410510"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 03:01:53.410510"]]
8934
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8935
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
8936
+  (0.1ms) SAVEPOINT active_record_1
8937
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:53.964894"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 03:01:53.964894"]]
8938
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8939
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
8940
+  (0.1ms) SAVEPOINT active_record_1
8941
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:54.499783"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-02 03:01:54.499783"]]
8942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8943
+ Completed 200 OK in 2201ms (Views: 6.8ms | ActiveRecord: 2.7ms)
8944
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
8945
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User' ORDER BY "plaid_rails_accounts"."id" ASC LIMIT 1
8946
+  (0.8ms) rollback transaction
8947
+  (0.1ms) begin transaction
8948
+ Processing by PlaidRails::AccountsController#new as HTML
8949
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
8950
+ Completed 200 OK in 275ms (Views: 6.7ms | ActiveRecord: 0.0ms)
8951
+  (0.1ms) rollback transaction
8952
+  (0.1ms) begin transaction
8953
+  (0.1ms) SAVEPOINT active_record_1
8954
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-02 03:01:54.794330"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-02 03:01:54.794330"]]
8955
+  (0.2ms) RELEASE SAVEPOINT active_record_1
8956
+ Processing by PlaidRails::AccountsController#destroy as HTML
8957
+ Parameters: {"id"=>"1"}
8958
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
8959
+  (0.0ms) SAVEPOINT active_record_1
8960
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
8961
+ SQL (0.6ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
8962
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8963
+ Completed 200 OK in 262ms (Views: 6.7ms | ActiveRecord: 1.0ms)
8964
+  (0.7ms) rollback transaction
8965
+  (0.1ms) begin transaction
8966
+ Processing by PlaidRails::WebhooksController#create as HTML
8967
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
8968
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8969
+  (0.1ms) rollback transaction
8970
+  (0.1ms) begin transaction
8971
+  (0.1ms) rollback transaction
8972
+  (0.0ms) begin transaction
8973
+  (0.1ms) rollback transaction
8974
+  (0.0ms) begin transaction
8975
+  (0.0ms) rollback transaction
8976
+  (0.0ms) begin transaction
8977
+  (0.1ms) SAVEPOINT active_record_1
8978
+ SQL (0.7ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-02-02 03:01:55.097384"], ["message", "hello"], ["updated_at", "2017-02-02 03:01:55.097384"]]
8979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8980
+  (0.3ms) rollback transaction