plaid_rails 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cf047bde0f6ad2d7144168fef73048de2159d8a
4
- data.tar.gz: 319c37d58db0f0f352faec6fc67d33fac5668a4b
3
+ metadata.gz: 72d8bf7cf5be435eb044cfbd8c92c163a52be1aa
4
+ data.tar.gz: e799208fe98d47f8cda6af3d5ae7796715066b27
5
5
  SHA512:
6
- metadata.gz: 40f0663a5ad07a1a4e3928ad60965a2cb58b5de24fab1fd7d84fa79313bd41144f17404d8dad77a5e3aefd4d2928a598cfb49dde87729038bb9dba3b99ad6cac
7
- data.tar.gz: c8bcac2e6f86138c3f6fcabf98cd47297616efbe2bdd2eaa309cc55c037cb9284f543d9420b6d706864898653e71767c76913706cdb22725f55d69ea96fdecc0
6
+ metadata.gz: 6a8f287bef770e7555d0b5f9bacf1f64298fa6b5a5aaf0215fcc1b8361779d132c0a3b74c3381b2ff65b734b5b0efd7a06418e51d60cfdc187528cdf9107153a
7
+ data.tar.gz: ca780efbb78ca457855d6faa32e9c406feade50a3e067cc5f79b52af1e93d143c3dfce72f643ff16472debf4841a72cee2582c277f6250e4e70b73861ef4296b
@@ -3,6 +3,7 @@ module PlaidRails
3
3
  belongs_to :owner, polymorphic: true, foreign_key: :owner_id
4
4
 
5
5
  before_destroy :delete_connect
6
+ before_save :delete_connect, if: Proc.new{|a| a.access_token_changed? and !a.new_record?}
6
7
 
7
8
  validates :plaid_id, presence: true
8
9
  validates :name, presence: true
@@ -1,3 +1,3 @@
1
1
  module PlaidRails
2
- VERSION = "0.8.0"
2
+ VERSION = "0.9.0"
3
3
  end
@@ -10385,3 +10385,2681 @@ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
10385
10385
   (0.0ms) rollback transaction
10386
10386
   (0.0ms) begin transaction
10387
10387
   (0.0ms) rollback transaction
10388
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
10389
+  (0.1ms) begin transaction
10390
+ Processing by PlaidRails::WebhooksController#create as HTML
10391
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
10392
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
10393
+  (0.1ms) rollback transaction
10394
+  (0.1ms) begin transaction
10395
+  (0.1ms) rollback transaction
10396
+  (0.0ms) begin transaction
10397
+  (0.0ms) rollback transaction
10398
+  (0.0ms) begin transaction
10399
+  (0.1ms) SAVEPOINT active_record_1
10400
+  (0.4ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10401
+ SQL (1.1ms) 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-10-22 01:28:33.075879"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:28:33.075879"]]
10402
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10403
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10404
+  (0.3ms) rollback transaction
10405
+  (0.0ms) begin transaction
10406
+  (0.0ms) SAVEPOINT active_record_1
10407
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10408
+ SQL (0.2ms) 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-10-22 01:28:33.083966"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:28:33.083966"]]
10409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10410
+  (0.0ms) SAVEPOINT active_record_1
10411
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "access_token" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["access_token", "foobar"], ["updated_at", "2017-10-22 01:28:33.085314"]]
10412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10413
+  (0.3ms) rollback transaction
10414
+  (0.1ms) begin transaction
10415
+  (0.1ms) rollback transaction
10416
+  (0.0ms) begin transaction
10417
+  (0.0ms) SAVEPOINT active_record_1
10418
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10419
+ SQL (0.2ms) 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-10-22 01:28:33.096104"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:28:33.096104"]]
10420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10421
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10422
+  (0.9ms) rollback transaction
10423
+  (0.0ms) begin transaction
10424
+  (0.4ms) SAVEPOINT active_record_1
10425
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10426
+ SQL (0.2ms) 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-10-22 01:28:33.101436"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:28:33.101436"]]
10427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10428
+  (0.0ms) SAVEPOINT active_record_1
10429
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "last_sync" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["last_sync", "2017-10-22 01:28:33.103059"], ["updated_at", "2017-10-22 01:28:33.103339"]]
10430
+  (0.3ms) RELEASE SAVEPOINT active_record_1
10431
+  (0.3ms) rollback transaction
10432
+  (0.0ms) begin transaction
10433
+  (0.0ms) rollback transaction
10434
+  (0.0ms) begin transaction
10435
+  (0.0ms) rollback transaction
10436
+  (0.0ms) begin transaction
10437
+  (0.0ms) SAVEPOINT active_record_1
10438
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10439
+ SQL (0.2ms) 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-10-22 01:28:33.112638"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:28:33.112638"]]
10440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10441
+  (0.0ms) SAVEPOINT active_record_1
10442
+ SQL (0.1ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
10443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10444
+  (0.2ms) rollback transaction
10445
+  (0.1ms) begin transaction
10446
+  (0.1ms) SAVEPOINT active_record_1
10447
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10448
+ SQL (0.2ms) 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-10-22 01:28:33.117566"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:28:33.117566"]]
10449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10450
+  (0.5ms) SAVEPOINT active_record_1
10451
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10452
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
10453
+  (0.3ms) rollback transaction
10454
+  (0.0ms) begin transaction
10455
+  (0.1ms) rollback transaction
10456
+  (0.0ms) begin transaction
10457
+  (0.1ms) rollback transaction
10458
+  (0.1ms) begin transaction
10459
+  (0.0ms) rollback transaction
10460
+  (0.2ms) begin transaction
10461
+  (0.0ms) SAVEPOINT active_record_1
10462
+ 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-10-22 01:28:33.146225"], ["message", "hello"], ["updated_at", "2017-10-22 01:28:33.146225"]]
10463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10464
+  (0.3ms) rollback transaction
10465
+  (0.0ms) begin transaction
10466
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
10467
+  (0.1ms) SAVEPOINT active_record_1
10468
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10469
+ 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-10-22 01:28:35.460230"], ["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-10-22 01:28:35.460230"]]
10470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10471
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
10472
+  (0.1ms) SAVEPOINT active_record_1
10473
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10474
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:28:36.385359"], ["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-10-22 01:28:36.385359"]]
10475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10476
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
10477
+  (0.1ms) SAVEPOINT active_record_1
10478
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10479
+ 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-10-22 01:28:37.055090"], ["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-10-22 01:28:37.055090"]]
10480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10481
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
10482
+  (0.1ms) SAVEPOINT active_record_1
10483
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10484
+ 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-10-22 01:28:37.852491"], ["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-10-22 01:28:37.852491"]]
10485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10486
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
10487
+  (0.2ms) rollback transaction
10488
+  (0.0ms) begin transaction
10489
+  (0.0ms) SAVEPOINT active_record_1
10490
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10491
+ SQL (0.2ms) 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-10-22 01:28:37.857955"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:28:37.857955"]]
10492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10493
+ Processing by PlaidRails::AccountsController#destroy as HTML
10494
+ Parameters: {"id"=>"1"}
10495
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
10496
+  (0.0ms) SAVEPOINT active_record_1
10497
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10498
+ SQL (0.1ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
10499
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10500
+ Completed 200 OK in 353ms (Views: 16.0ms | ActiveRecord: 0.3ms)
10501
+  (0.3ms) rollback transaction
10502
+  (0.0ms) begin transaction
10503
+ Processing by PlaidRails::AccountsController#index as HTML
10504
+ Parameters: {"account"=>{"owner_id"=>"1"}}
10505
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
10506
+  (0.1ms) SAVEPOINT active_record_1
10507
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10508
+ SQL (0.2ms) 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-10-22 01:28:38.220459"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:28:38.220459"]]
10509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10510
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
10511
+  (0.3ms) rollback transaction
10512
+  (0.0ms) begin transaction
10513
+ Processing by PlaidRails::AccountsController#create as HTML
10514
+ 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"}}
10515
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
10516
+  (0.1ms) SAVEPOINT active_record_1
10517
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10518
+ 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-10-22 01:28:39.367465"], ["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-10-22 01:28:39.367465"]]
10519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10520
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
10521
+  (0.1ms) SAVEPOINT active_record_1
10522
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10523
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:28:40.765899"], ["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-10-22 01:28:40.765899"]]
10524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10525
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
10526
+  (0.1ms) SAVEPOINT active_record_1
10527
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10528
+ 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-10-22 01:28:41.425387"], ["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-10-22 01:28:41.425387"]]
10529
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10530
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
10531
+  (0.1ms) SAVEPOINT active_record_1
10532
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10533
+ 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-10-22 01:28:42.085538"], ["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-10-22 01:28:42.085538"]]
10534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10535
+ Completed 200 OK in 3444ms (Views: 3.9ms | ActiveRecord: 2.6ms)
10536
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
10537
+ 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
10538
+  (0.4ms) rollback transaction
10539
+  (0.0ms) begin transaction
10540
+ Processing by PlaidRails::AccountsController#new as HTML
10541
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
10542
+ Completed 200 OK in 306ms (Views: 4.0ms | ActiveRecord: 0.0ms)
10543
+  (0.1ms) rollback transaction
10544
+  (0.0ms) begin transaction
10545
+  (0.1ms) SAVEPOINT active_record_1
10546
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10547
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "transactions_start_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:28:42.406063"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["transactions_start_date", "2017-10-18"], ["updated_at", "2017-10-22 01:28:42.406063"]]
10548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10549
+ Processing by PlaidRails::LinkController#update as JS
10550
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
10551
+ 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
10552
+  (0.1ms) SAVEPOINT active_record_1
10553
+ SQL (0.2ms) UPDATE "plaid_rails_accounts" SET "transactions_start_date" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["transactions_start_date", "2017-10-21"], ["updated_at", "2017-10-22 01:28:42.691060"]]
10554
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10555
+ Completed 200 OK in 302ms (Views: 19.9ms | ActiveRecord: 0.5ms)
10556
+  (0.3ms) rollback transaction
10557
+  (0.0ms) begin transaction
10558
+ Processing by PlaidRails::LinkController#authenticate as HTML
10559
+ 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.
10560
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
10561
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
10562
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
10563
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
10564
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
10565
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
10566
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
10567
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
10568
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
10569
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
10570
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
10571
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
10572
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
10573
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
10574
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
10575
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
10576
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
10577
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
10578
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
10579
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
10580
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
10581
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
10582
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
10583
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
10584
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
10585
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
10586
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
10587
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
10588
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
10589
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
10590
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
10591
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:33:in `block (2 levels) in <module:PlaidRails>'
10592
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10593
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10594
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
10595
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
10596
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10597
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10598
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10599
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10600
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
10601
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
10602
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10603
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10604
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10605
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10606
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
10607
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
10608
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
10609
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
10610
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
10611
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
10612
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
10613
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
10614
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
10615
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
10616
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
10617
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
10618
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
10619
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
10620
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
10621
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
10622
+ Completed 500 Internal Server Error in 286ms (Views: 2.9ms | ActiveRecord: 0.0ms)
10623
+  (0.1ms) rollback transaction
10624
+  (0.1ms) begin transaction
10625
+ Processing by PlaidRails::LinkController#update as HTML
10626
+ 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.
10627
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
10628
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
10629
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
10630
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
10631
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
10632
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
10633
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
10634
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
10635
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
10636
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
10637
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
10638
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
10639
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
10640
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
10641
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
10642
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
10643
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
10644
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
10645
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
10646
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
10647
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
10648
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
10649
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
10650
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
10651
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
10652
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
10653
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
10654
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
10655
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
10656
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
10657
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
10658
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:36:in `block (2 levels) in <module:PlaidRails>'
10659
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10660
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10661
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
10662
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
10663
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10664
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10665
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10666
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10667
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
10668
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
10669
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10670
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10671
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10672
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10673
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
10674
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
10675
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
10676
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
10677
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
10678
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
10679
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
10680
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
10681
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
10682
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
10683
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
10684
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
10685
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
10686
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
10687
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
10688
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
10689
+ Completed 500 Internal Server Error in 294ms (Views: 0.4ms | ActiveRecord: 0.0ms)
10690
+  (0.2ms) rollback transaction
10691
+  (0.1ms) begin transaction
10692
+ Processing by PlaidRails::LinkController#authenticate as JS
10693
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
10694
+ Completed 200 OK in 288ms (Views: 17.0ms | ActiveRecord: 0.0ms)
10695
+  (0.1ms) rollback transaction
10696
+  (0.1ms) begin transaction
10697
+ Processing by PlaidRails::LinkController#authenticate as JS
10698
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
10699
+ 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.
10700
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
10701
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
10702
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
10703
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
10704
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
10705
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
10706
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
10707
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
10708
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
10709
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
10710
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
10711
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
10712
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
10713
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
10714
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
10715
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
10716
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
10717
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
10718
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
10719
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
10720
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
10721
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
10722
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
10723
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
10724
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
10725
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
10726
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
10727
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10728
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10729
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
10730
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
10731
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10732
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10733
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10734
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10735
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
10736
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
10737
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10738
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10739
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10740
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10741
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
10742
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
10743
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
10744
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
10745
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
10746
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
10747
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
10748
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
10749
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
10750
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
10751
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
10752
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
10753
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
10754
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
10755
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
10756
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
10757
+ Completed 500 Internal Server Error in 297ms (Views: 0.4ms | ActiveRecord: 0.0ms)
10758
+  (0.1ms) rollback transaction
10759
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10760
+  (0.1ms) begin transaction
10761
+ Processing by PlaidRails::WebhooksController#create as HTML
10762
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
10763
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
10764
+  (0.1ms) rollback transaction
10765
+  (0.0ms) begin transaction
10766
+  (0.1ms) SAVEPOINT active_record_1
10767
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10768
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "transactions_start_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:29:00.825302"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["transactions_start_date", "2017-10-18"], ["updated_at", "2017-10-22 01:29:00.825302"]]
10769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10770
+ Processing by PlaidRails::LinkController#update as JS
10771
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
10772
+ 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
10773
+  (0.0ms) SAVEPOINT active_record_1
10774
+ SQL (0.2ms) UPDATE "plaid_rails_accounts" SET "transactions_start_date" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["transactions_start_date", "2017-10-21"], ["updated_at", "2017-10-22 01:29:01.126842"]]
10775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10776
+ Completed 200 OK in 318ms (Views: 19.7ms | ActiveRecord: 0.5ms)
10777
+  (1.3ms) rollback transaction
10778
+  (0.1ms) begin transaction
10779
+ Processing by PlaidRails::LinkController#authenticate as HTML
10780
+ 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.
10781
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
10782
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
10783
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
10784
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
10785
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
10786
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
10787
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
10788
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
10789
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
10790
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
10791
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
10792
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
10793
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
10794
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
10795
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
10796
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
10797
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
10798
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
10799
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
10800
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
10801
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
10802
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
10803
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
10804
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
10805
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
10806
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
10807
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
10808
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
10809
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
10810
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
10811
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
10812
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:33:in `block (2 levels) in <module:PlaidRails>'
10813
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10814
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10815
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
10816
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
10817
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10818
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10819
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10820
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10821
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
10822
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
10823
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10824
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10825
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10826
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10827
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
10828
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
10829
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
10830
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
10831
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
10832
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
10833
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
10834
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
10835
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
10836
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
10837
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
10838
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
10839
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
10840
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
10841
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
10842
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
10843
+ Completed 500 Internal Server Error in 499ms (Views: 1.8ms | ActiveRecord: 0.0ms)
10844
+  (0.1ms) rollback transaction
10845
+  (0.0ms) begin transaction
10846
+ Processing by PlaidRails::LinkController#authenticate as JS
10847
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
10848
+ 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.
10849
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
10850
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
10851
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
10852
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
10853
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
10854
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
10855
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
10856
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
10857
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
10858
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
10859
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
10860
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
10861
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
10862
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
10863
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
10864
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
10865
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
10866
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
10867
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
10868
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
10869
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
10870
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
10871
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
10872
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
10873
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
10874
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
10875
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
10876
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10877
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10878
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
10879
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
10880
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10881
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10882
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10883
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10884
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
10885
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
10886
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10887
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10888
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10889
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10890
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
10891
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
10892
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
10893
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
10894
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
10895
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
10896
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
10897
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
10898
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
10899
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
10900
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
10901
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
10902
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
10903
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
10904
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
10905
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
10906
+ Completed 500 Internal Server Error in 506ms (Views: 0.4ms | ActiveRecord: 0.0ms)
10907
+  (0.1ms) rollback transaction
10908
+  (0.0ms) begin transaction
10909
+ Processing by PlaidRails::LinkController#authenticate as JS
10910
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
10911
+ Completed 200 OK in 411ms (Views: 14.3ms | ActiveRecord: 0.0ms)
10912
+  (0.1ms) rollback transaction
10913
+  (0.0ms) begin transaction
10914
+ Processing by PlaidRails::LinkController#update as HTML
10915
+ 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.
10916
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
10917
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
10918
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
10919
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
10920
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
10921
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
10922
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
10923
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
10924
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
10925
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
10926
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
10927
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
10928
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
10929
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
10930
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
10931
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
10932
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
10933
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
10934
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
10935
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
10936
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
10937
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
10938
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
10939
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
10940
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
10941
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
10942
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
10943
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
10944
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
10945
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
10946
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
10947
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:36:in `block (2 levels) in <module:PlaidRails>'
10948
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10949
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10950
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
10951
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
10952
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10953
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10954
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10955
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10956
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
10957
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
10958
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
10959
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
10960
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
10961
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
10962
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
10963
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
10964
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
10965
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
10966
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
10967
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
10968
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
10969
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
10970
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
10971
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
10972
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
10973
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
10974
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
10975
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
10976
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
10977
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
10978
+ Completed 500 Internal Server Error in 342ms (Views: 0.4ms | ActiveRecord: 0.0ms)
10979
+  (0.1ms) rollback transaction
10980
+  (0.5ms) begin transaction
10981
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
10982
+  (0.1ms) SAVEPOINT active_record_1
10983
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10984
+ 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", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:29:04.150471"], ["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-10-22 01:29:04.150471"]]
10985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10986
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
10987
+  (0.1ms) SAVEPOINT active_record_1
10988
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10989
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:29:05.204534"], ["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-10-22 01:29:05.204534"]]
10990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10991
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
10992
+  (0.1ms) SAVEPOINT active_record_1
10993
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10994
+ 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-10-22 01:29:05.866345"], ["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-10-22 01:29:05.866345"]]
10995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10996
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
10997
+  (0.1ms) SAVEPOINT active_record_1
10998
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10999
+ 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-10-22 01:29:06.552371"], ["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-10-22 01:29:06.552371"]]
11000
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11001
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
11002
+  (1.4ms) rollback transaction
11003
+  (0.1ms) begin transaction
11004
+ Processing by PlaidRails::AccountsController#index as HTML
11005
+ Parameters: {"account"=>{"owner_id"=>"1"}}
11006
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
11007
+  (0.1ms) SAVEPOINT active_record_1
11008
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11009
+ SQL (0.3ms) 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-10-22 01:29:06.566996"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:29:06.566996"]]
11010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11011
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
11012
+  (0.3ms) rollback transaction
11013
+  (0.0ms) begin transaction
11014
+ Processing by PlaidRails::AccountsController#create as HTML
11015
+ 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"}}
11016
+ PlaidRails::Account Exists (0.3ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
11017
+  (0.1ms) SAVEPOINT active_record_1
11018
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11019
+ SQL (1.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-10-22 01:29:07.600240"], ["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-10-22 01:29:07.600240"]]
11020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11021
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
11022
+  (0.1ms) SAVEPOINT active_record_1
11023
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11024
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:29:09.129285"], ["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-10-22 01:29:09.129285"]]
11025
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11026
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
11027
+  (0.1ms) SAVEPOINT active_record_1
11028
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11029
+ 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-10-22 01:29:09.857071"], ["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-10-22 01:29:09.857071"]]
11030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11031
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
11032
+  (0.1ms) SAVEPOINT active_record_1
11033
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11034
+ 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-10-22 01:29:10.621888"], ["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-10-22 01:29:10.621888"]]
11035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11036
+ Completed 200 OK in 3738ms (Views: 2.3ms | ActiveRecord: 3.5ms)
11037
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
11038
+ 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
11039
+  (1.2ms) rollback transaction
11040
+  (0.1ms) begin transaction
11041
+  (0.0ms) SAVEPOINT active_record_1
11042
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11043
+ SQL (0.3ms) 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-10-22 01:29:10.630960"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:29:10.630960"]]
11044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11045
+ Processing by PlaidRails::AccountsController#destroy as HTML
11046
+ Parameters: {"id"=>"1"}
11047
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
11048
+  (0.0ms) SAVEPOINT active_record_1
11049
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11050
+ SQL (0.2ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
11051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11052
+ Completed 200 OK in 407ms (Views: 2.9ms | ActiveRecord: 0.4ms)
11053
+  (1.4ms) rollback transaction
11054
+  (0.1ms) begin transaction
11055
+ Processing by PlaidRails::AccountsController#new as HTML
11056
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
11057
+ Completed 200 OK in 409ms (Views: 2.8ms | ActiveRecord: 0.0ms)
11058
+  (0.1ms) rollback transaction
11059
+  (0.0ms) begin transaction
11060
+  (0.0ms) rollback transaction
11061
+  (0.0ms) begin transaction
11062
+  (0.0ms) rollback transaction
11063
+  (0.0ms) begin transaction
11064
+  (0.0ms) rollback transaction
11065
+  (0.0ms) begin transaction
11066
+  (0.0ms) SAVEPOINT active_record_1
11067
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11068
+ SQL (0.2ms) 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-10-22 01:29:11.464627"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:29:11.464627"]]
11069
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11070
+  (0.0ms) SAVEPOINT active_record_1
11071
+ SQL (0.1ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
11072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11073
+  (1.3ms) rollback transaction
11074
+  (0.1ms) begin transaction
11075
+  (0.0ms) SAVEPOINT active_record_1
11076
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11077
+ SQL (0.3ms) 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-10-22 01:29:11.469488"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:29:11.469488"]]
11078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11079
+  (0.0ms) SAVEPOINT active_record_1
11080
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "last_sync" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["last_sync", "2017-10-22 01:29:11.470751"], ["updated_at", "2017-10-22 01:29:11.471082"]]
11081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11082
+  (0.3ms) rollback transaction
11083
+  (0.1ms) begin transaction
11084
+  (0.0ms) SAVEPOINT active_record_1
11085
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11086
+ SQL (0.2ms) 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-10-22 01:29:11.473651"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:29:11.473651"]]
11087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11088
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11089
+  (0.3ms) rollback transaction
11090
+  (0.1ms) begin transaction
11091
+  (0.0ms) SAVEPOINT active_record_1
11092
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11093
+ SQL (0.2ms) 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-10-22 01:29:11.477426"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:29:11.477426"]]
11094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11095
+  (0.0ms) SAVEPOINT active_record_1
11096
+  (0.0ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11097
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
11098
+  (0.2ms) rollback transaction
11099
+  (0.0ms) begin transaction
11100
+  (0.0ms) SAVEPOINT active_record_1
11101
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11102
+ SQL (0.2ms) 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-10-22 01:29:11.481332"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:29:11.481332"]]
11103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11104
+  (0.0ms) SAVEPOINT active_record_1
11105
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "access_token" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["access_token", "foobar"], ["updated_at", "2017-10-22 01:29:11.482527"]]
11106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11107
+  (0.2ms) rollback transaction
11108
+  (0.0ms) begin transaction
11109
+  (0.0ms) SAVEPOINT active_record_1
11110
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11111
+ SQL (0.2ms) 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-10-22 01:29:11.484837"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:29:11.484837"]]
11112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11113
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11114
+  (0.3ms) rollback transaction
11115
+  (0.0ms) begin transaction
11116
+  (0.1ms) rollback transaction
11117
+  (0.0ms) begin transaction
11118
+  (0.0ms) rollback transaction
11119
+  (0.0ms) begin transaction
11120
+  (0.1ms) rollback transaction
11121
+  (0.0ms) begin transaction
11122
+  (0.0ms) rollback transaction
11123
+  (0.0ms) begin transaction
11124
+  (0.0ms) rollback transaction
11125
+  (0.0ms) begin transaction
11126
+  (0.0ms) SAVEPOINT active_record_1
11127
+ SQL (0.3ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-10-22 01:29:11.509865"], ["message", "hello"], ["updated_at", "2017-10-22 01:29:11.509865"]]
11128
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11129
+  (0.2ms) rollback transaction
11130
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11131
+  (0.1ms) begin transaction
11132
+  (0.1ms) SAVEPOINT active_record_1
11133
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11134
+ 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-10-22 01:34:30.047813"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:34:30.047813"]]
11135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11136
+  (0.0ms) SAVEPOINT active_record_1
11137
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11138
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
11139
+  (1.0ms) rollback transaction
11140
+  (0.0ms) begin transaction
11141
+  (0.0ms) rollback transaction
11142
+  (0.1ms) begin transaction
11143
+  (0.1ms) rollback transaction
11144
+  (0.0ms) begin transaction
11145
+  (0.1ms) SAVEPOINT active_record_1
11146
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11147
+ 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-10-22 01:34:30.063301"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:34:30.063301"]]
11148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11149
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11150
+  (0.4ms) rollback transaction
11151
+  (0.1ms) begin transaction
11152
+  (0.1ms) SAVEPOINT active_record_1
11153
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11154
+ SQL (0.3ms) 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-10-22 01:34:30.068610"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:34:30.068610"]]
11155
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11156
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11157
+  (0.3ms) rollback transaction
11158
+  (0.0ms) begin transaction
11159
+  (0.0ms) rollback transaction
11160
+  (0.0ms) begin transaction
11161
+  (0.1ms) rollback transaction
11162
+  (0.0ms) begin transaction
11163
+  (0.0ms) SAVEPOINT active_record_1
11164
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11165
+ SQL (0.3ms) 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-10-22 01:34:30.087738"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:34:30.087738"]]
11166
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11167
+  (0.0ms) SAVEPOINT active_record_1
11168
+ SQL (0.1ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
11169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11170
+  (0.7ms) rollback transaction
11171
+  (0.0ms) begin transaction
11172
+  (0.0ms) rollback transaction
11173
+  (0.0ms) begin transaction
11174
+ Processing by PlaidRails::WebhooksController#create as HTML
11175
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
11176
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
11177
+  (0.2ms) rollback transaction
11178
+  (0.0ms) begin transaction
11179
+ Processing by PlaidRails::LinkController#authenticate as JS
11180
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
11181
+ Completed 200 OK in 1344ms (Views: 19.4ms | ActiveRecord: 0.0ms)
11182
+  (0.1ms) rollback transaction
11183
+  (0.0ms) begin transaction
11184
+ Processing by PlaidRails::LinkController#authenticate as HTML
11185
+ 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.
11186
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
11187
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
11188
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
11189
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
11190
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
11191
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
11192
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11193
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
11194
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
11195
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11196
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
11197
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
11198
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
11199
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
11200
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
11201
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11202
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
11203
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11204
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11205
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11206
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
11207
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
11208
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
11209
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
11210
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
11211
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
11212
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
11213
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
11214
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
11215
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
11216
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
11217
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:33:in `block (2 levels) in <module:PlaidRails>'
11218
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11219
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11220
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
11221
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
11222
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11223
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11224
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11225
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11226
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
11227
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
11228
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11229
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11230
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11231
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11232
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
11233
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
11234
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
11235
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
11236
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
11237
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
11238
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
11239
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
11240
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
11241
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
11242
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
11243
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
11244
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
11245
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
11246
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
11247
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
11248
+ Completed 500 Internal Server Error in 272ms (Views: 1.9ms | ActiveRecord: 0.0ms)
11249
+  (0.5ms) rollback transaction
11250
+  (0.0ms) begin transaction
11251
+  (0.0ms) SAVEPOINT active_record_1
11252
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11253
+ SQL (0.3ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "transactions_start_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:34:31.731723"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["transactions_start_date", "2017-10-18"], ["updated_at", "2017-10-22 01:34:31.731723"]]
11254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11255
+ Processing by PlaidRails::LinkController#update as JS
11256
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
11257
+ 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
11258
+  (0.1ms) SAVEPOINT active_record_1
11259
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "transactions_start_date" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["transactions_start_date", "2017-10-21"], ["updated_at", "2017-10-22 01:34:32.030792"]]
11260
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11261
+ Completed 200 OK in 310ms (Views: 12.6ms | ActiveRecord: 0.4ms)
11262
+  (1.2ms) rollback transaction
11263
+  (0.1ms) begin transaction
11264
+ Processing by PlaidRails::LinkController#authenticate as JS
11265
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
11266
+ 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.
11267
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
11268
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
11269
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
11270
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
11271
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
11272
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
11273
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11274
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
11275
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
11276
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11277
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
11278
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
11279
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
11280
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
11281
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
11282
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11283
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
11284
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11285
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11286
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11287
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
11288
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
11289
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
11290
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
11291
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
11292
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
11293
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
11294
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11295
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11296
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
11297
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
11298
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11299
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11300
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11301
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11302
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
11303
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
11304
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11305
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11306
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11307
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11308
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
11309
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
11310
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
11311
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
11312
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
11313
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
11314
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
11315
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
11316
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
11317
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
11318
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
11319
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
11320
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
11321
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
11322
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
11323
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
11324
+ Completed 500 Internal Server Error in 274ms (Views: 0.8ms | ActiveRecord: 0.0ms)
11325
+  (0.1ms) rollback transaction
11326
+  (0.3ms) begin transaction
11327
+ Processing by PlaidRails::LinkController#update as HTML
11328
+ 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.
11329
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
11330
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
11331
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
11332
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
11333
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
11334
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
11335
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11336
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
11337
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
11338
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11339
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
11340
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
11341
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
11342
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
11343
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
11344
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11345
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
11346
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11347
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11348
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11349
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
11350
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
11351
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
11352
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
11353
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
11354
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
11355
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
11356
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
11357
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
11358
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
11359
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
11360
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:36:in `block (2 levels) in <module:PlaidRails>'
11361
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11362
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11363
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
11364
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
11365
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11366
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11367
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11368
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11369
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
11370
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
11371
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11372
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11373
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11374
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11375
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
11376
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
11377
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
11378
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
11379
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
11380
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
11381
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
11382
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
11383
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
11384
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
11385
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
11386
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
11387
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
11388
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
11389
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
11390
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
11391
+ Completed 500 Internal Server Error in 264ms (Views: 0.4ms | ActiveRecord: 0.0ms)
11392
+  (0.1ms) rollback transaction
11393
+  (0.1ms) begin transaction
11394
+  (0.1ms) rollback transaction
11395
+  (0.0ms) begin transaction
11396
+  (0.1ms) rollback transaction
11397
+  (0.0ms) begin transaction
11398
+  (0.0ms) rollback transaction
11399
+  (0.0ms) begin transaction
11400
+  (0.0ms) SAVEPOINT active_record_1
11401
+ SQL (0.3ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-10-22 01:34:32.618873"], ["message", "hello"], ["updated_at", "2017-10-22 01:34:32.618873"]]
11402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11403
+  (1.2ms) rollback transaction
11404
+  (0.1ms) begin transaction
11405
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
11406
+  (0.1ms) SAVEPOINT active_record_1
11407
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11408
+ 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-10-22 01:34:33.517979"], ["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-10-22 01:34:33.517979"]]
11409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11410
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
11411
+  (0.1ms) SAVEPOINT active_record_1
11412
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11413
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:34:34.476042"], ["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-10-22 01:34:34.476042"]]
11414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11415
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
11416
+  (0.1ms) SAVEPOINT active_record_1
11417
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11418
+ 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-10-22 01:34:35.083461"], ["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-10-22 01:34:35.083461"]]
11419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11420
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
11421
+  (0.1ms) SAVEPOINT active_record_1
11422
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11423
+ 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-10-22 01:34:35.641366"], ["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-10-22 01:34:35.641366"]]
11424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11425
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
11426
+  (1.4ms) rollback transaction
11427
+  (0.1ms) begin transaction
11428
+ Processing by PlaidRails::AccountsController#create as HTML
11429
+ 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"}}
11430
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
11431
+  (0.1ms) SAVEPOINT active_record_1
11432
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11433
+ 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-10-22 01:34:37.459132"], ["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-10-22 01:34:37.459132"]]
11434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11435
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
11436
+  (0.1ms) SAVEPOINT active_record_1
11437
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11438
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:34:38.367773"], ["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-10-22 01:34:38.367773"]]
11439
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11440
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
11441
+  (0.1ms) SAVEPOINT active_record_1
11442
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11443
+ 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-10-22 01:34:39.024469"], ["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-10-22 01:34:39.024469"]]
11444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11445
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
11446
+  (0.1ms) SAVEPOINT active_record_1
11447
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11448
+ 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-10-22 01:34:39.786051"], ["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-10-22 01:34:39.786051"]]
11449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11450
+ Completed 200 OK in 3854ms (Views: 5.6ms | ActiveRecord: 2.4ms)
11451
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
11452
+ 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
11453
+  (0.3ms) rollback transaction
11454
+  (0.0ms) begin transaction
11455
+ Processing by PlaidRails::AccountsController#new as HTML
11456
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
11457
+ Completed 200 OK in 327ms (Views: 2.7ms | ActiveRecord: 0.0ms)
11458
+  (0.1ms) rollback transaction
11459
+  (0.0ms) begin transaction
11460
+ Processing by PlaidRails::AccountsController#index as HTML
11461
+ Parameters: {"account"=>{"owner_id"=>"1"}}
11462
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
11463
+  (0.0ms) SAVEPOINT active_record_1
11464
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11465
+ SQL (0.3ms) 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-10-22 01:34:40.129242"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:34:40.129242"]]
11466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11467
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
11468
+  (1.3ms) rollback transaction
11469
+  (0.1ms) begin transaction
11470
+  (0.0ms) SAVEPOINT active_record_1
11471
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11472
+ SQL (0.2ms) 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-10-22 01:34:40.134108"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:34:40.134108"]]
11473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11474
+ Processing by PlaidRails::AccountsController#destroy as HTML
11475
+ Parameters: {"id"=>"1"}
11476
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
11477
+  (0.1ms) SAVEPOINT active_record_1
11478
+  (0.0ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11479
+ SQL (0.1ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
11480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11481
+ Completed 200 OK in 301ms (Views: 2.8ms | ActiveRecord: 0.4ms)
11482
+  (1.2ms) rollback transaction
11483
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11484
+  (0.1ms) begin transaction
11485
+ Processing by PlaidRails::WebhooksController#create as HTML
11486
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
11487
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
11488
+  (0.1ms) rollback transaction
11489
+  (0.0ms) begin transaction
11490
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
11491
+  (0.1ms) SAVEPOINT active_record_1
11492
+ 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-10-22 01:35:29.055357"], ["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-10-22 01:35:29.055357"]]
11493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11494
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
11495
+  (0.1ms) SAVEPOINT active_record_1
11496
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:35:29.686397"], ["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-10-22 01:35:29.686397"]]
11497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11498
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
11499
+  (0.1ms) SAVEPOINT active_record_1
11500
+ 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-10-22 01:35:30.299034"], ["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-10-22 01:35:30.299034"]]
11501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11502
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
11503
+  (0.1ms) SAVEPOINT active_record_1
11504
+ 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-10-22 01:35:30.881337"], ["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-10-22 01:35:30.881337"]]
11505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11506
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
11507
+  (1.5ms) rollback transaction
11508
+  (0.1ms) begin transaction
11509
+  (0.0ms) SAVEPOINT active_record_1
11510
+ SQL (0.3ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-10-22 01:35:30.894833"], ["message", "hello"], ["updated_at", "2017-10-22 01:35:30.894833"]]
11511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11512
+  (0.2ms) rollback transaction
11513
+  (0.0ms) begin transaction
11514
+  (0.0ms) rollback transaction
11515
+  (0.0ms) begin transaction
11516
+  (0.0ms) rollback transaction
11517
+  (0.0ms) begin transaction
11518
+  (0.4ms) rollback transaction
11519
+  (0.0ms) begin transaction
11520
+ Processing by PlaidRails::LinkController#authenticate as JS
11521
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
11522
+ 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.
11523
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
11524
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
11525
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
11526
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
11527
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
11528
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
11529
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11530
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
11531
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
11532
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11533
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
11534
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
11535
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
11536
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
11537
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
11538
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11539
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
11540
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11541
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11542
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11543
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
11544
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
11545
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
11546
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
11547
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
11548
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
11549
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
11550
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11551
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11552
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
11553
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
11554
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11555
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11556
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11557
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11558
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
11559
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
11560
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11561
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11562
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11563
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11564
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
11565
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
11566
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
11567
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
11568
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
11569
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
11570
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
11571
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
11572
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
11573
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
11574
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
11575
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
11576
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
11577
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
11578
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
11579
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
11580
+ Completed 500 Internal Server Error in 307ms (Views: 4.9ms | ActiveRecord: 0.0ms)
11581
+  (0.1ms) rollback transaction
11582
+  (0.0ms) begin transaction
11583
+ Processing by PlaidRails::LinkController#authenticate as HTML
11584
+ 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.
11585
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
11586
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
11587
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
11588
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
11589
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
11590
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
11591
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11592
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
11593
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
11594
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11595
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
11596
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
11597
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
11598
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
11599
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
11600
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11601
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
11602
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11603
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11604
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11605
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
11606
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
11607
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
11608
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
11609
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
11610
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
11611
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
11612
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
11613
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
11614
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
11615
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
11616
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:33:in `block (2 levels) in <module:PlaidRails>'
11617
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11618
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11619
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
11620
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
11621
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11622
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11623
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11624
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11625
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
11626
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
11627
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11628
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11629
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11630
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11631
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
11632
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
11633
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
11634
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
11635
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
11636
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
11637
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
11638
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
11639
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
11640
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
11641
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
11642
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
11643
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
11644
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
11645
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
11646
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
11647
+ Completed 500 Internal Server Error in 306ms (Views: 0.4ms | ActiveRecord: 0.0ms)
11648
+  (0.1ms) rollback transaction
11649
+  (0.1ms) begin transaction
11650
+ Processing by PlaidRails::LinkController#authenticate as JS
11651
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
11652
+ Completed 200 OK in 298ms (Views: 17.0ms | ActiveRecord: 0.0ms)
11653
+  (0.1ms) rollback transaction
11654
+  (0.0ms) begin transaction
11655
+  (0.0ms) SAVEPOINT active_record_1
11656
+ SQL (0.3ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "transactions_start_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:35:31.845797"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["transactions_start_date", "2017-10-18"], ["updated_at", "2017-10-22 01:35:31.845797"]]
11657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11658
+ Processing by PlaidRails::LinkController#update as JS
11659
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
11660
+ 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
11661
+  (0.1ms) SAVEPOINT active_record_1
11662
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "transactions_start_date" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["transactions_start_date", "2017-10-21"], ["updated_at", "2017-10-22 01:35:32.140078"]]
11663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11664
+ Completed 200 OK in 306ms (Views: 12.4ms | ActiveRecord: 0.4ms)
11665
+  (1.2ms) rollback transaction
11666
+  (0.1ms) begin transaction
11667
+ Processing by PlaidRails::LinkController#update as HTML
11668
+ 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.
11669
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
11670
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
11671
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
11672
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
11673
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
11674
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
11675
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11676
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
11677
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
11678
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11679
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
11680
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
11681
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
11682
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
11683
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
11684
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11685
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
11686
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11687
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11688
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11689
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
11690
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
11691
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
11692
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
11693
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
11694
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
11695
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
11696
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
11697
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
11698
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
11699
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
11700
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:36:in `block (2 levels) in <module:PlaidRails>'
11701
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11702
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11703
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
11704
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
11705
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11706
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11707
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11708
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11709
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
11710
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
11711
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
11712
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
11713
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
11714
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
11715
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
11716
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
11717
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
11718
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
11719
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
11720
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
11721
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
11722
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
11723
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
11724
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
11725
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
11726
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
11727
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
11728
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
11729
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
11730
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
11731
+ Completed 500 Internal Server Error in 288ms (Views: 0.4ms | ActiveRecord: 0.0ms)
11732
+  (0.1ms) rollback transaction
11733
+  (0.1ms) begin transaction
11734
+  (0.0ms) rollback transaction
11735
+  (0.0ms) begin transaction
11736
+  (0.0ms) SAVEPOINT active_record_1
11737
+ SQL (0.3ms) 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-10-22 01:35:32.453860"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:35:32.453860"]]
11738
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11739
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11740
+  (1.2ms) rollback transaction
11741
+  (0.1ms) begin transaction
11742
+  (0.1ms) SAVEPOINT active_record_1
11743
+ 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-10-22 01:35:32.458806"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:35:32.458806"]]
11744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11745
+  (0.1ms) SAVEPOINT active_record_1
11746
+ SQL (0.1ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
11747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11748
+  (0.3ms) rollback transaction
11749
+  (0.0ms) begin transaction
11750
+  (0.1ms) rollback transaction
11751
+  (0.0ms) begin transaction
11752
+  (0.0ms) SAVEPOINT active_record_1
11753
+ SQL (0.3ms) 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-10-22 01:35:32.467320"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:35:32.467320"]]
11754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11755
+  (0.0ms) SAVEPOINT active_record_1
11756
+ SQL (0.1ms) 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-10-22 01:35:32.468980"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:35:32.468980"]]
11757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11758
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11759
+  (0.3ms) rollback transaction
11760
+  (0.0ms) begin transaction
11761
+  (0.0ms) rollback transaction
11762
+  (0.0ms) begin transaction
11763
+  (0.0ms) rollback transaction
11764
+  (0.0ms) begin transaction
11765
+  (0.0ms) SAVEPOINT active_record_1
11766
+ SQL (0.2ms) 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-10-22 01:35:32.475415"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:35:32.475415"]]
11767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11768
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11769
+  (0.2ms) rollback transaction
11770
+  (0.0ms) begin transaction
11771
+  (0.0ms) rollback transaction
11772
+  (0.0ms) begin transaction
11773
+ Processing by PlaidRails::AccountsController#new as HTML
11774
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
11775
+ Completed 200 OK in 1271ms (Views: 5.5ms | ActiveRecord: 0.0ms)
11776
+  (0.1ms) rollback transaction
11777
+  (0.0ms) begin transaction
11778
+ Processing by PlaidRails::AccountsController#index as HTML
11779
+ Parameters: {"account"=>{"owner_id"=>"1"}}
11780
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
11781
+  (0.0ms) SAVEPOINT active_record_1
11782
+ SQL (0.3ms) 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-10-22 01:35:33.758925"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:35:33.758925"]]
11783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11784
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
11785
+  (1.3ms) rollback transaction
11786
+  (0.1ms) begin transaction
11787
+ Processing by PlaidRails::AccountsController#create as HTML
11788
+ 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"}}
11789
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
11790
+  (0.1ms) SAVEPOINT active_record_1
11791
+ 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-10-22 01:35:34.755054"], ["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-10-22 01:35:34.755054"]]
11792
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11793
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
11794
+  (0.1ms) SAVEPOINT active_record_1
11795
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 01:35:35.445328"], ["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-10-22 01:35:35.445328"]]
11796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11797
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
11798
+  (0.1ms) SAVEPOINT active_record_1
11799
+ 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-10-22 01:35:36.063645"], ["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-10-22 01:35:36.063645"]]
11800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11801
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
11802
+  (0.1ms) SAVEPOINT active_record_1
11803
+ 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-10-22 01:35:36.652518"], ["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-10-22 01:35:36.652518"]]
11804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11805
+ Completed 200 OK in 2543ms (Views: 2.7ms | ActiveRecord: 2.1ms)
11806
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
11807
+ 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
11808
+  (1.1ms) rollback transaction
11809
+  (0.1ms) begin transaction
11810
+  (0.0ms) SAVEPOINT active_record_1
11811
+ SQL (0.2ms) 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-10-22 01:35:36.661336"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 01:35:36.661336"]]
11812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11813
+ Processing by PlaidRails::AccountsController#destroy as HTML
11814
+ Parameters: {"id"=>"1"}
11815
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
11816
+  (0.0ms) SAVEPOINT active_record_1
11817
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11818
+ SQL (0.1ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
11819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11820
+ Completed 200 OK in 262ms (Views: 2.7ms | ActiveRecord: 0.4ms)
11821
+  (1.4ms) rollback transaction
11822
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11823
+  (0.1ms) begin transaction
11824
+ Processing by PlaidRails::AccountsController#index as HTML
11825
+ Parameters: {"account"=>{"owner_id"=>"1"}}
11826
+ Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/accounts/index.html.erb within layouts/plaid_rails/application (0.2ms)
11827
+ Completed 200 OK in 14ms (Views: 10.0ms | ActiveRecord: 0.0ms)
11828
+  (0.1ms) SAVEPOINT active_record_1
11829
+ 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-10-22 12:52:40.540160"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:52:40.540160"]]
11830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11831
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
11832
+  (0.4ms) rollback transaction
11833
+  (0.1ms) begin transaction
11834
+ Processing by PlaidRails::AccountsController#new as HTML
11835
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
11836
+ Completed 200 OK in 1367ms (Views: 3.0ms | ActiveRecord: 0.0ms)
11837
+  (0.1ms) rollback transaction
11838
+  (0.0ms) begin transaction
11839
+  (0.0ms) SAVEPOINT active_record_1
11840
+ SQL (0.3ms) 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-10-22 12:52:41.918324"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:52:41.918324"]]
11841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11842
+ Processing by PlaidRails::AccountsController#destroy as HTML
11843
+ Parameters: {"id"=>"1"}
11844
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
11845
+  (0.0ms) SAVEPOINT active_record_1
11846
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11847
+ SQL (0.2ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
11848
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11849
+ Completed 200 OK in 273ms (Views: 3.0ms | ActiveRecord: 0.4ms)
11850
+  (1.5ms) rollback transaction
11851
+  (0.1ms) begin transaction
11852
+ Processing by PlaidRails::AccountsController#create as HTML
11853
+ 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"}}
11854
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
11855
+  (0.7ms) SAVEPOINT active_record_1
11856
+ SQL (0.7ms) 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-10-22 12:52:42.984198"], ["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-10-22 12:52:42.984198"]]
11857
+  (0.6ms) RELEASE SAVEPOINT active_record_1
11858
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
11859
+  (0.1ms) SAVEPOINT active_record_1
11860
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:52:43.490272"], ["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-10-22 12:52:43.490272"]]
11861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11862
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
11863
+  (0.1ms) SAVEPOINT active_record_1
11864
+ 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-10-22 12:52:43.991612"], ["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-10-22 12:52:43.991612"]]
11865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11866
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
11867
+  (0.1ms) SAVEPOINT active_record_1
11868
+ 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-10-22 12:52:44.512632"], ["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-10-22 12:52:44.512632"]]
11869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11870
+ Completed 200 OK in 2050ms (Views: 2.7ms | ActiveRecord: 3.2ms)
11871
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
11872
+ 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
11873
+  (1.1ms) rollback transaction
11874
+  (0.0ms) begin transaction
11875
+ Processing by PlaidRails::WebhooksController#create as HTML
11876
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
11877
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
11878
+  (0.0ms) rollback transaction
11879
+  (0.0ms) begin transaction
11880
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
11881
+  (0.1ms) SAVEPOINT active_record_1
11882
+ SQL (0.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-10-22 12:52:45.350251"], ["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-10-22 12:52:45.350251"]]
11883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11884
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
11885
+  (0.1ms) SAVEPOINT active_record_1
11886
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:52:45.874788"], ["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-10-22 12:52:45.874788"]]
11887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11888
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
11889
+  (0.1ms) SAVEPOINT active_record_1
11890
+ 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-10-22 12:52:46.416990"], ["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-10-22 12:52:46.416990"]]
11891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11892
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
11893
+  (0.1ms) SAVEPOINT active_record_1
11894
+ 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", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:52:46.925195"], ["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-10-22 12:52:46.925195"]]
11895
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11896
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
11897
+  (0.3ms) rollback transaction
11898
+  (0.0ms) begin transaction
11899
+  (0.1ms) rollback transaction
11900
+  (0.1ms) begin transaction
11901
+  (0.1ms) rollback transaction
11902
+  (0.0ms) begin transaction
11903
+  (0.1ms) rollback transaction
11904
+  (0.0ms) begin transaction
11905
+  (0.0ms) SAVEPOINT active_record_1
11906
+ SQL (0.3ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-10-22 12:52:46.950417"], ["message", "hello"], ["updated_at", "2017-10-22 12:52:46.950417"]]
11907
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11908
+  (0.3ms) rollback transaction
11909
+  (0.1ms) begin transaction
11910
+  (0.0ms) SAVEPOINT active_record_1
11911
+ SQL (0.3ms) 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-10-22 12:52:46.953653"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:52:46.953653"]]
11912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11913
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11914
+  (0.3ms) rollback transaction
11915
+  (0.0ms) begin transaction
11916
+  (0.1ms) rollback transaction
11917
+  (0.0ms) begin transaction
11918
+  (0.1ms) SAVEPOINT active_record_1
11919
+ SQL (0.9ms) 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-10-22 12:52:46.962107"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:52:46.962107"]]
11920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11921
+  (0.0ms) SAVEPOINT active_record_1
11922
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "last_sync" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["last_sync", "2017-10-22 12:52:46.964031"], ["updated_at", "2017-10-22 12:52:46.964352"]]
11923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11924
+  (0.2ms) rollback transaction
11925
+  (0.0ms) begin transaction
11926
+  (0.1ms) SAVEPOINT active_record_1
11927
+ SQL (0.2ms) 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-10-22 12:52:46.966714"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:52:46.966714"]]
11928
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11929
+  (0.1ms) SAVEPOINT active_record_1
11930
+ SQL (0.0ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
11931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11932
+  (0.2ms) rollback transaction
11933
+  (0.1ms) begin transaction
11934
+  (0.1ms) rollback transaction
11935
+  (0.0ms) begin transaction
11936
+  (0.1ms) SAVEPOINT active_record_1
11937
+ 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-10-22 12:52:46.973338"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:52:46.973338"]]
11938
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11939
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11940
+  (0.3ms) rollback transaction
11941
+  (0.0ms) begin transaction
11942
+  (0.0ms) SAVEPOINT active_record_1
11943
+ SQL (0.3ms) 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-10-22 12:52:46.977290"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:52:46.977290"]]
11944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11945
+  (0.1ms) SAVEPOINT active_record_1
11946
+ SQL (0.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-10-22 12:52:46.979114"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:52:46.979114"]]
11947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11948
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
11949
+  (0.3ms) rollback transaction
11950
+  (0.0ms) begin transaction
11951
+  (0.0ms) rollback transaction
11952
+  (0.0ms) begin transaction
11953
+  (0.1ms) rollback transaction
11954
+  (0.1ms) begin transaction
11955
+  (0.0ms) SAVEPOINT active_record_1
11956
+ 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-10-22 12:52:46.989726"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:52:46.989726"]]
11957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11958
+  (0.0ms) SAVEPOINT active_record_1
11959
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "access_token" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["access_token", "foobar"], ["updated_at", "2017-10-22 12:52:46.991453"]]
11960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11961
+  (1.6ms) rollback transaction
11962
+  (0.0ms) begin transaction
11963
+  (0.0ms) rollback transaction
11964
+  (0.0ms) begin transaction
11965
+ Processing by PlaidRails::LinkController#authenticate as JS
11966
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
11967
+ Completed 200 OK in 250ms (Views: 19.2ms | ActiveRecord: 0.0ms)
11968
+  (0.1ms) rollback transaction
11969
+  (0.0ms) begin transaction
11970
+ Processing by PlaidRails::LinkController#authenticate as JS
11971
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
11972
+ 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.
11973
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
11974
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
11975
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
11976
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
11977
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
11978
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
11979
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
11980
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
11981
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
11982
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
11983
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
11984
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
11985
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
11986
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
11987
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
11988
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
11989
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
11990
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
11991
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
11992
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
11993
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
11994
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
11995
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
11996
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
11997
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
11998
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
11999
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
12000
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
12001
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
12002
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
12003
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
12004
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
12005
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
12006
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
12007
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
12008
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
12009
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
12010
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
12011
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
12012
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
12013
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
12014
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
12015
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
12016
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
12017
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
12018
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
12019
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
12020
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
12021
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
12022
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
12023
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
12024
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
12025
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
12026
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
12027
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
12028
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
12029
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
12030
+ Completed 500 Internal Server Error in 237ms (Views: 2.2ms | ActiveRecord: 0.0ms)
12031
+  (0.1ms) rollback transaction
12032
+  (0.0ms) begin transaction
12033
+  (0.1ms) SAVEPOINT active_record_1
12034
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "transactions_start_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:52:47.492673"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["transactions_start_date", "2017-10-19"], ["updated_at", "2017-10-22 12:52:47.492673"]]
12035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12036
+ Processing by PlaidRails::LinkController#update as JS
12037
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
12038
+ 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
12039
+  (0.0ms) SAVEPOINT active_record_1
12040
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "transactions_start_date" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["transactions_start_date", "2017-10-22"], ["updated_at", "2017-10-22 12:52:47.717200"]]
12041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12042
+ Completed 200 OK in 234ms (Views: 12.2ms | ActiveRecord: 0.3ms)
12043
+  (1.1ms) rollback transaction
12044
+  (0.0ms) begin transaction
12045
+ Processing by PlaidRails::LinkController#update as HTML
12046
+ 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.
12047
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
12048
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
12049
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
12050
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
12051
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
12052
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
12053
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
12054
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
12055
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
12056
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
12057
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
12058
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
12059
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
12060
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
12061
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
12062
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
12063
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
12064
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
12065
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
12066
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
12067
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
12068
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
12069
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
12070
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
12071
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
12072
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
12073
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
12074
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
12075
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
12076
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
12077
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
12078
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:36:in `block (2 levels) in <module:PlaidRails>'
12079
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
12080
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
12081
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
12082
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
12083
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
12084
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
12085
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
12086
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
12087
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
12088
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
12089
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
12090
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
12091
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
12092
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
12093
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
12094
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
12095
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
12096
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
12097
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
12098
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
12099
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
12100
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
12101
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
12102
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
12103
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
12104
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
12105
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
12106
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
12107
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
12108
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
12109
+ Completed 500 Internal Server Error in 226ms (Views: 0.4ms | ActiveRecord: 0.0ms)
12110
+  (0.1ms) rollback transaction
12111
+  (0.0ms) begin transaction
12112
+ Processing by PlaidRails::LinkController#authenticate as HTML
12113
+ 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.
12114
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
12115
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
12116
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
12117
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
12118
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
12119
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
12120
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
12121
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
12122
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
12123
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
12124
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
12125
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
12126
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
12127
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
12128
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
12129
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
12130
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
12131
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
12132
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
12133
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
12134
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
12135
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
12136
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
12137
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
12138
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
12139
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
12140
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
12141
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
12142
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
12143
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
12144
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
12145
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:33:in `block (2 levels) in <module:PlaidRails>'
12146
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
12147
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
12148
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
12149
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
12150
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
12151
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
12152
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
12153
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
12154
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
12155
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
12156
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
12157
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
12158
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
12159
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
12160
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
12161
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
12162
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
12163
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
12164
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
12165
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
12166
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
12167
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
12168
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
12169
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
12170
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
12171
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
12172
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
12173
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
12174
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
12175
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
12176
+ Completed 500 Internal Server Error in 229ms (Views: 0.4ms | ActiveRecord: 0.0ms)
12177
+  (0.1ms) rollback transaction
12178
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12179
+  (0.1ms) begin transaction
12180
+ Processing by PlaidRails::WebhooksController#create as HTML
12181
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
12182
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
12183
+  (0.1ms) rollback transaction
12184
+  (0.0ms) begin transaction
12185
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
12186
+  (0.1ms) SAVEPOINT active_record_1
12187
+ 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", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:56:40.502653"], ["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-10-22 12:56:40.502653"]]
12188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12189
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
12190
+  (0.1ms) SAVEPOINT active_record_1
12191
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:56:41.060511"], ["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-10-22 12:56:41.060511"]]
12192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12193
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
12194
+  (0.1ms) SAVEPOINT active_record_1
12195
+ 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-10-22 12:56:41.572593"], ["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-10-22 12:56:41.572593"]]
12196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12197
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
12198
+  (0.1ms) SAVEPOINT active_record_1
12199
+ 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-10-22 12:56:42.101009"], ["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-10-22 12:56:42.101009"]]
12200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12201
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
12202
+  (1.3ms) rollback transaction
12203
+  (0.1ms) begin transaction
12204
+ Processing by PlaidRails::AccountsController#create as HTML
12205
+ 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"}}
12206
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
12207
+  (0.1ms) SAVEPOINT active_record_1
12208
+ 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-10-22 12:56:42.900882"], ["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-10-22 12:56:42.900882"]]
12209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12210
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
12211
+  (0.1ms) SAVEPOINT active_record_1
12212
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:56:43.409294"], ["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-10-22 12:56:43.409294"]]
12213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12214
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
12215
+  (0.1ms) SAVEPOINT active_record_1
12216
+ 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-10-22 12:56:43.968379"], ["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-10-22 12:56:43.968379"]]
12217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12218
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
12219
+  (0.1ms) SAVEPOINT active_record_1
12220
+ 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-10-22 12:56:44.490246"], ["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-10-22 12:56:44.490246"]]
12221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12222
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
12223
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
12224
+ Completed 200 OK in 2116ms (Views: 12.0ms | ActiveRecord: 2.1ms)
12225
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
12226
+ 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
12227
+  (1.3ms) rollback transaction
12228
+  (0.1ms) begin transaction
12229
+ Processing by PlaidRails::AccountsController#index as HTML
12230
+ Parameters: {"account"=>{"owner_id"=>"1"}}
12231
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
12232
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
12233
+  (0.0ms) SAVEPOINT active_record_1
12234
+ SQL (0.3ms) 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-10-22 12:56:44.513803"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:56:44.513803"]]
12235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12236
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
12237
+  (0.3ms) rollback transaction
12238
+  (0.0ms) begin transaction
12239
+ Processing by PlaidRails::AccountsController#new as HTML
12240
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
12241
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
12242
+ Completed 200 OK in 283ms (Views: 4.2ms | ActiveRecord: 0.0ms)
12243
+  (0.1ms) rollback transaction
12244
+  (0.0ms) begin transaction
12245
+  (0.1ms) SAVEPOINT active_record_1
12246
+ SQL (0.3ms) 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-10-22 12:56:44.802580"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:56:44.802580"]]
12247
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12248
+ Processing by PlaidRails::AccountsController#destroy as HTML
12249
+ Parameters: {"id"=>"1"}
12250
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
12251
+  (0.0ms) SAVEPOINT active_record_1
12252
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
12253
+ SQL (0.2ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
12254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12255
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
12256
+ Completed 200 OK in 262ms (Views: 4.3ms | ActiveRecord: 0.4ms)
12257
+  (1.3ms) rollback transaction
12258
+  (0.1ms) begin transaction
12259
+ Processing by PlaidRails::LinkController#update as HTML
12260
+ 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.
12261
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
12262
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
12263
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
12264
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
12265
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
12266
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
12267
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
12268
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
12269
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
12270
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
12271
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
12272
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
12273
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
12274
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
12275
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
12276
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
12277
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
12278
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
12279
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
12280
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
12281
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
12282
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
12283
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
12284
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
12285
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
12286
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
12287
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
12288
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
12289
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
12290
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
12291
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
12292
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
12293
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/memoized_helpers.rb:81:in `should'
12294
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:36:in `block (2 levels) in <module:PlaidRails>'
12295
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `instance_exec'
12296
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `block in run'
12297
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
12298
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
12299
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `block in run'
12300
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for'
12301
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12302
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/example/controller_example_group.rb:191:in `block (2 levels) in <module:ControllerExampleGroup>'
12303
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12304
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12305
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12306
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12307
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12308
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
12309
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12310
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12311
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12312
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12313
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12314
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for'
12315
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `run'
12316
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
12317
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
12318
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:251:in `run'
12319
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:628:in `block in run_examples'
12320
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `map'
12321
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `run_examples'
12322
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:590:in `run'
12323
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
12324
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `map'
12325
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
12326
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb:1896:in `with_suite_hooks'
12327
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
12328
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb:79:in `report'
12329
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:112:in `run_specs'
12330
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:87:in `run'
12331
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:71:in `run'
12332
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:45:in `invoke'
12333
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/exe/rspec:4:in `<top (required)>'
12334
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `load'
12335
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `<top (required)>'
12336
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `load'
12337
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
12338
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:27:in `run'
12339
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:332:in `exec'
12340
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
12341
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
12342
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
12343
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:20:in `dispatch'
12344
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
12345
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:11:in `start'
12346
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:34:in `block in <top (required)>'
12347
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
12348
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:26:in `<top (required)>'
12349
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `load'
12350
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
12351
+ Completed 500 Internal Server Error in 230ms (Views: 1.6ms | ActiveRecord: 0.0ms)
12352
+  (0.1ms) rollback transaction
12353
+  (0.0ms) begin transaction
12354
+ Processing by PlaidRails::LinkController#authenticate as JS
12355
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
12356
+ 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.
12357
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
12358
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
12359
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
12360
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
12361
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
12362
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
12363
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
12364
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
12365
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
12366
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
12367
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
12368
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
12369
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
12370
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
12371
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
12372
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
12373
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
12374
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
12375
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
12376
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
12377
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
12378
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
12379
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
12380
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
12381
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
12382
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
12383
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
12384
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `instance_exec'
12385
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `block in run'
12386
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
12387
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
12388
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `block in run'
12389
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for'
12390
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12391
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/example/controller_example_group.rb:191:in `block (2 levels) in <module:ControllerExampleGroup>'
12392
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12393
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12394
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12395
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12396
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12397
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
12398
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12399
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12400
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12401
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12402
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12403
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for'
12404
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `run'
12405
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
12406
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
12407
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:251:in `run'
12408
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:628:in `block in run_examples'
12409
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `map'
12410
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `run_examples'
12411
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:590:in `run'
12412
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
12413
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `map'
12414
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
12415
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb:1896:in `with_suite_hooks'
12416
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
12417
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb:79:in `report'
12418
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:112:in `run_specs'
12419
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:87:in `run'
12420
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:71:in `run'
12421
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:45:in `invoke'
12422
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/exe/rspec:4:in `<top (required)>'
12423
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `load'
12424
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `<top (required)>'
12425
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `load'
12426
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
12427
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:27:in `run'
12428
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:332:in `exec'
12429
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
12430
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
12431
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
12432
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:20:in `dispatch'
12433
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
12434
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:11:in `start'
12435
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:34:in `block in <top (required)>'
12436
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
12437
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:26:in `<top (required)>'
12438
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `load'
12439
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
12440
+ Completed 500 Internal Server Error in 230ms (Views: 0.4ms | ActiveRecord: 0.0ms)
12441
+  (0.1ms) rollback transaction
12442
+  (0.0ms) begin transaction
12443
+  (0.0ms) SAVEPOINT active_record_1
12444
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "transactions_start_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:56:45.542398"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["transactions_start_date", "2017-10-19"], ["updated_at", "2017-10-22 12:56:45.542398"]]
12445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12446
+ Processing by PlaidRails::LinkController#update as JS
12447
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
12448
+ 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
12449
+  (0.1ms) SAVEPOINT active_record_1
12450
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "transactions_start_date" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["transactions_start_date", "2017-10-22"], ["updated_at", "2017-10-22 12:56:45.766699"]]
12451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12452
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
12453
+ Completed 200 OK in 253ms (Views: 29.0ms | ActiveRecord: 0.4ms)
12454
+  (1.3ms) rollback transaction
12455
+  (0.1ms) begin transaction
12456
+ Processing by PlaidRails::LinkController#authenticate as JS
12457
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
12458
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
12459
+ Completed 200 OK in 270ms (Views: 25.9ms | ActiveRecord: 0.0ms)
12460
+  (0.1ms) rollback transaction
12461
+  (0.0ms) begin transaction
12462
+ Processing by PlaidRails::LinkController#authenticate as HTML
12463
+ 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.
12464
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
12465
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
12466
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
12467
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
12468
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
12469
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
12470
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
12471
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
12472
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
12473
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
12474
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
12475
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
12476
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
12477
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
12478
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
12479
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
12480
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
12481
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
12482
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
12483
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
12484
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
12485
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
12486
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
12487
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
12488
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
12489
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
12490
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
12491
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
12492
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
12493
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
12494
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
12495
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
12496
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/memoized_helpers.rb:81:in `should'
12497
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:33:in `block (2 levels) in <module:PlaidRails>'
12498
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `instance_exec'
12499
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `block in run'
12500
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
12501
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
12502
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `block in run'
12503
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for'
12504
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12505
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/example/controller_example_group.rb:191:in `block (2 levels) in <module:ControllerExampleGroup>'
12506
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12507
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12508
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12509
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12510
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12511
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
12512
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12513
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12514
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12515
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12516
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12517
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for'
12518
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `run'
12519
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
12520
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
12521
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:251:in `run'
12522
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:628:in `block in run_examples'
12523
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `map'
12524
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `run_examples'
12525
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:590:in `run'
12526
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
12527
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `map'
12528
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
12529
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb:1896:in `with_suite_hooks'
12530
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
12531
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb:79:in `report'
12532
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:112:in `run_specs'
12533
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:87:in `run'
12534
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:71:in `run'
12535
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:45:in `invoke'
12536
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/exe/rspec:4:in `<top (required)>'
12537
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `load'
12538
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `<top (required)>'
12539
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `load'
12540
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
12541
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:27:in `run'
12542
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:332:in `exec'
12543
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
12544
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
12545
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
12546
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:20:in `dispatch'
12547
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
12548
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:11:in `start'
12549
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:34:in `block in <top (required)>'
12550
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
12551
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:26:in `<top (required)>'
12552
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `load'
12553
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
12554
+ Completed 500 Internal Server Error in 229ms (Views: 0.4ms | ActiveRecord: 0.0ms)
12555
+  (0.1ms) rollback transaction
12556
+  (0.1ms) begin transaction
12557
+  (0.1ms) rollback transaction
12558
+  (0.0ms) begin transaction
12559
+  (0.0ms) rollback transaction
12560
+  (0.0ms) begin transaction
12561
+  (0.0ms) rollback transaction
12562
+  (0.0ms) begin transaction
12563
+  (0.0ms) SAVEPOINT active_record_1
12564
+ SQL (0.3ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-10-22 12:56:46.320392"], ["message", "hello"], ["updated_at", "2017-10-22 12:56:46.320392"]]
12565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12566
+  (1.1ms) rollback transaction
12567
+  (0.0ms) begin transaction
12568
+  (0.1ms) SAVEPOINT active_record_1
12569
+ SQL (0.2ms) 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-10-22 12:56:46.324084"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:56:46.324084"]]
12570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12571
+  (0.0ms) SAVEPOINT active_record_1
12572
+ SQL (0.0ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
12573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12574
+  (0.2ms) rollback transaction
12575
+  (0.0ms) begin transaction
12576
+  (0.0ms) rollback transaction
12577
+  (0.0ms) begin transaction
12578
+  (0.0ms) SAVEPOINT active_record_1
12579
+ SQL (0.2ms) 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-10-22 12:56:46.331273"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:56:46.331273"]]
12580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12581
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
12582
+  (0.2ms) rollback transaction
12583
+  (0.0ms) begin transaction
12584
+  (0.0ms) SAVEPOINT active_record_1
12585
+ SQL (0.2ms) 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-10-22 12:56:46.334104"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:56:46.334104"]]
12586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12587
+  (0.0ms) SAVEPOINT active_record_1
12588
+ SQL (0.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-10-22 12:56:46.335219"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:56:46.335219"]]
12589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12590
+  (0.0ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
12591
+  (0.2ms) rollback transaction
12592
+  (0.0ms) begin transaction
12593
+  (0.0ms) SAVEPOINT active_record_1
12594
+ SQL (0.2ms) 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-10-22 12:56:46.337142"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:56:46.337142"]]
12595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12596
+  (0.0ms) SAVEPOINT active_record_1
12597
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "access_token" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["access_token", "foobar"], ["updated_at", "2017-10-22 12:56:46.338321"]]
12598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12599
+  (0.2ms) rollback transaction
12600
+  (0.0ms) begin transaction
12601
+  (0.0ms) SAVEPOINT active_record_1
12602
+ SQL (0.2ms) 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-10-22 12:56:46.340279"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:56:46.340279"]]
12603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12604
+  (0.0ms) SAVEPOINT active_record_1
12605
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "last_sync" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["last_sync", "2017-10-22 12:56:46.341289"], ["updated_at", "2017-10-22 12:56:46.341577"]]
12606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12607
+  (0.3ms) rollback transaction
12608
+  (0.0ms) begin transaction
12609
+  (0.0ms) SAVEPOINT active_record_1
12610
+ SQL (0.2ms) 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-10-22 12:56:46.343247"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:56:46.343247"]]
12611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12612
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
12613
+  (0.2ms) rollback transaction
12614
+  (0.0ms) begin transaction
12615
+  (0.0ms) rollback transaction
12616
+  (0.0ms) begin transaction
12617
+  (0.0ms) rollback transaction
12618
+  (0.0ms) begin transaction
12619
+  (0.0ms) rollback transaction
12620
+  (0.0ms) begin transaction
12621
+  (0.1ms) rollback transaction
12622
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12623
+  (0.1ms) begin transaction
12624
+ Processing by PlaidRails::WebhooksController#create as HTML
12625
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
12626
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
12627
+  (0.1ms) rollback transaction
12628
+  (0.1ms) begin transaction
12629
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
12630
+  (0.1ms) SAVEPOINT active_record_1
12631
+ SQL (1.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", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:57:19.611812"], ["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-10-22 12:57:19.611812"]]
12632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12633
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
12634
+  (0.1ms) SAVEPOINT active_record_1
12635
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:57:20.156396"], ["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-10-22 12:57:20.156396"]]
12636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12637
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
12638
+  (0.1ms) SAVEPOINT active_record_1
12639
+ 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-10-22 12:57:20.679581"], ["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-10-22 12:57:20.679581"]]
12640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12641
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
12642
+  (0.1ms) SAVEPOINT active_record_1
12643
+ 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-10-22 12:57:21.203708"], ["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-10-22 12:57:21.203708"]]
12644
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12645
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
12646
+  (0.3ms) rollback transaction
12647
+  (0.1ms) begin transaction
12648
+  (0.0ms) rollback transaction
12649
+  (0.0ms) begin transaction
12650
+  (0.0ms) rollback transaction
12651
+  (0.0ms) begin transaction
12652
+  (0.0ms) rollback transaction
12653
+  (0.0ms) begin transaction
12654
+  (0.0ms) SAVEPOINT active_record_1
12655
+ SQL (0.3ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-10-22 12:57:21.229195"], ["message", "hello"], ["updated_at", "2017-10-22 12:57:21.229195"]]
12656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12657
+  (0.4ms) rollback transaction
12658
+  (0.0ms) begin transaction
12659
+  (0.0ms) rollback transaction
12660
+  (0.0ms) begin transaction
12661
+  (0.0ms) SAVEPOINT active_record_1
12662
+ SQL (0.3ms) 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-10-22 12:57:21.236939"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:57:21.236939"]]
12663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12664
+  (0.0ms) SAVEPOINT active_record_1
12665
+ SQL (0.1ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
12666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12667
+  (0.3ms) rollback transaction
12668
+  (0.0ms) begin transaction
12669
+  (0.0ms) rollback transaction
12670
+  (0.1ms) begin transaction
12671
+  (0.2ms) rollback transaction
12672
+  (0.0ms) begin transaction
12673
+  (0.0ms) SAVEPOINT active_record_1
12674
+ SQL (0.3ms) 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-10-22 12:57:21.245327"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:57:21.245327"]]
12675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12676
+  (0.0ms) SAVEPOINT active_record_1
12677
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "last_sync" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["last_sync", "2017-10-22 12:57:21.246454"], ["updated_at", "2017-10-22 12:57:21.246836"]]
12678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12679
+  (0.3ms) rollback transaction
12680
+  (0.1ms) begin transaction
12681
+  (0.2ms) SAVEPOINT active_record_1
12682
+ SQL (0.3ms) 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-10-22 12:57:21.250434"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:57:21.250434"]]
12683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12684
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
12685
+  (0.3ms) rollback transaction
12686
+  (0.0ms) begin transaction
12687
+  (0.0ms) SAVEPOINT active_record_1
12688
+ SQL (0.2ms) 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-10-22 12:57:21.253703"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:57:21.253703"]]
12689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12690
+  (0.0ms) SAVEPOINT active_record_1
12691
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "access_token" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["access_token", "foobar"], ["updated_at", "2017-10-22 12:57:21.254922"]]
12692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12693
+  (0.2ms) rollback transaction
12694
+  (0.0ms) begin transaction
12695
+  (0.0ms) SAVEPOINT active_record_1
12696
+ SQL (0.2ms) 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-10-22 12:57:21.256645"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:57:21.256645"]]
12697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12698
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
12699
+  (0.3ms) rollback transaction
12700
+  (0.0ms) begin transaction
12701
+  (0.0ms) SAVEPOINT active_record_1
12702
+ SQL (0.2ms) 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-10-22 12:57:21.259081"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:57:21.259081"]]
12703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12704
+  (0.0ms) SAVEPOINT active_record_1
12705
+ SQL (0.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-10-22 12:57:21.260357"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:57:21.260357"]]
12706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12707
+  (0.0ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
12708
+  (0.2ms) rollback transaction
12709
+  (0.0ms) begin transaction
12710
+  (0.0ms) rollback transaction
12711
+  (0.0ms) begin transaction
12712
+  (0.0ms) rollback transaction
12713
+  (0.1ms) begin transaction
12714
+ Processing by PlaidRails::LinkController#update as HTML
12715
+ 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.
12716
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
12717
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
12718
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
12719
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
12720
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
12721
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
12722
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
12723
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
12724
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
12725
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
12726
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
12727
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
12728
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
12729
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
12730
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
12731
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
12732
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
12733
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
12734
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
12735
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
12736
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
12737
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
12738
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
12739
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
12740
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
12741
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
12742
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
12743
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
12744
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
12745
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
12746
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
12747
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
12748
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/memoized_helpers.rb:81:in `should'
12749
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:36:in `block (2 levels) in <module:PlaidRails>'
12750
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `instance_exec'
12751
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `block in run'
12752
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
12753
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
12754
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `block in run'
12755
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for'
12756
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12757
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/example/controller_example_group.rb:191:in `block (2 levels) in <module:ControllerExampleGroup>'
12758
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12759
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12760
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12761
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12762
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12763
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
12764
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12765
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12766
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12767
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12768
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12769
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for'
12770
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `run'
12771
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
12772
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
12773
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:251:in `run'
12774
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:628:in `block in run_examples'
12775
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `map'
12776
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `run_examples'
12777
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:590:in `run'
12778
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
12779
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `map'
12780
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
12781
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb:1896:in `with_suite_hooks'
12782
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
12783
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb:79:in `report'
12784
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:112:in `run_specs'
12785
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:87:in `run'
12786
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:71:in `run'
12787
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:45:in `invoke'
12788
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/exe/rspec:4:in `<top (required)>'
12789
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `load'
12790
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `<top (required)>'
12791
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `load'
12792
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
12793
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:27:in `run'
12794
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:332:in `exec'
12795
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
12796
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
12797
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
12798
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:20:in `dispatch'
12799
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
12800
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:11:in `start'
12801
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:34:in `block in <top (required)>'
12802
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
12803
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:26:in `<top (required)>'
12804
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `load'
12805
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
12806
+ Completed 500 Internal Server Error in 244ms (Views: 5.5ms | ActiveRecord: 0.0ms)
12807
+  (0.1ms) rollback transaction
12808
+  (0.0ms) begin transaction
12809
+  (0.0ms) SAVEPOINT active_record_1
12810
+ SQL (0.3ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "transactions_start_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:57:21.516972"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["transactions_start_date", "2017-10-19"], ["updated_at", "2017-10-22 12:57:21.516972"]]
12811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12812
+ Processing by PlaidRails::LinkController#update as JS
12813
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
12814
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1
12815
+  (0.0ms) SAVEPOINT active_record_1
12816
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "transactions_start_date" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["transactions_start_date", "2017-10-22"], ["updated_at", "2017-10-22 12:57:21.753634"]]
12817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12818
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
12819
+ Completed 200 OK in 271ms (Views: 36.2ms | ActiveRecord: 0.3ms)
12820
+  (1.1ms) rollback transaction
12821
+  (0.0ms) begin transaction
12822
+ Processing by PlaidRails::LinkController#authenticate as JS
12823
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
12824
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
12825
+ Completed 200 OK in 256ms (Views: 24.2ms | ActiveRecord: 0.0ms)
12826
+  (0.1ms) rollback transaction
12827
+  (0.0ms) begin transaction
12828
+ Processing by PlaidRails::LinkController#authenticate as HTML
12829
+ 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.
12830
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
12831
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
12832
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
12833
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
12834
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
12835
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
12836
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
12837
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
12838
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
12839
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
12840
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
12841
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
12842
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
12843
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
12844
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
12845
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
12846
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
12847
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
12848
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
12849
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
12850
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
12851
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
12852
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
12853
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
12854
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
12855
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
12856
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
12857
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
12858
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
12859
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
12860
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
12861
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
12862
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/memoized_helpers.rb:81:in `should'
12863
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:33:in `block (2 levels) in <module:PlaidRails>'
12864
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `instance_exec'
12865
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `block in run'
12866
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
12867
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
12868
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `block in run'
12869
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for'
12870
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12871
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/example/controller_example_group.rb:191:in `block (2 levels) in <module:ControllerExampleGroup>'
12872
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12873
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12874
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12875
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12876
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12877
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
12878
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12879
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12880
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12881
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12882
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12883
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for'
12884
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `run'
12885
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
12886
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
12887
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:251:in `run'
12888
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:628:in `block in run_examples'
12889
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `map'
12890
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `run_examples'
12891
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:590:in `run'
12892
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
12893
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `map'
12894
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
12895
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb:1896:in `with_suite_hooks'
12896
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
12897
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb:79:in `report'
12898
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:112:in `run_specs'
12899
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:87:in `run'
12900
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:71:in `run'
12901
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:45:in `invoke'
12902
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/exe/rspec:4:in `<top (required)>'
12903
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `load'
12904
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `<top (required)>'
12905
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `load'
12906
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
12907
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:27:in `run'
12908
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:332:in `exec'
12909
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
12910
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
12911
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
12912
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:20:in `dispatch'
12913
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
12914
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:11:in `start'
12915
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:34:in `block in <top (required)>'
12916
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
12917
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:26:in `<top (required)>'
12918
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `load'
12919
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
12920
+ Completed 500 Internal Server Error in 247ms (Views: 0.4ms | ActiveRecord: 0.0ms)
12921
+  (0.1ms) rollback transaction
12922
+  (0.1ms) begin transaction
12923
+ Processing by PlaidRails::LinkController#authenticate as JS
12924
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
12925
+ 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.
12926
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
12927
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
12928
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
12929
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
12930
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
12931
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
12932
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
12933
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
12934
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
12935
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
12936
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
12937
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
12938
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
12939
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
12940
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
12941
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
12942
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
12943
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
12944
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
12945
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
12946
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
12947
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
12948
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
12949
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
12950
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
12951
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
12952
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
12953
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `instance_exec'
12954
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:254:in `block in run'
12955
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
12956
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
12957
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `block in run'
12958
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for'
12959
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12960
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/example/controller_example_group.rb:191:in `block (2 levels) in <module:ControllerExampleGroup>'
12961
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12962
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12963
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12964
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12965
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12966
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
12967
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12968
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:447:in `instance_exec'
12969
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:375:in `execute_with'
12970
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for'
12971
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:342:in `call'
12972
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for'
12973
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb:466:in `run'
12974
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
12975
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
12976
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb:251:in `run'
12977
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:628:in `block in run_examples'
12978
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `map'
12979
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:624:in `run_examples'
12980
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb:590:in `run'
12981
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
12982
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `map'
12983
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
12984
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb:1896:in `with_suite_hooks'
12985
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
12986
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb:79:in `report'
12987
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:112:in `run_specs'
12988
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:87:in `run'
12989
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:71:in `run'
12990
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb:45:in `invoke'
12991
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.7.0/exe/rspec:4:in `<top (required)>'
12992
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `load'
12993
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/rspec:23:in `<top (required)>'
12994
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `load'
12995
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
12996
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli/exec.rb:27:in `run'
12997
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:332:in `exec'
12998
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
12999
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
13000
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
13001
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:20:in `dispatch'
13002
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
13003
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/cli.rb:11:in `start'
13004
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:34:in `block in <top (required)>'
13005
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
13006
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.0/exe/bundle:26:in `<top (required)>'
13007
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `load'
13008
+ /Users/cwilhelm/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
13009
+ Completed 500 Internal Server Error in 244ms (Views: 0.4ms | ActiveRecord: 0.0ms)
13010
+  (0.1ms) rollback transaction
13011
+  (0.0ms) begin transaction
13012
+ Processing by PlaidRails::AccountsController#create as HTML
13013
+ 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"}}
13014
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
13015
+  (0.1ms) SAVEPOINT active_record_1
13016
+ 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-10-22 12:57:23.357980"], ["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-10-22 12:57:23.357980"]]
13017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13018
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
13019
+  (0.1ms) SAVEPOINT active_record_1
13020
+ 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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-22 12:57:23.897478"], ["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-10-22 12:57:23.897478"]]
13021
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13022
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
13023
+  (0.1ms) SAVEPOINT active_record_1
13024
+ 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-10-22 12:57:24.434203"], ["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-10-22 12:57:24.434203"]]
13025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13026
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
13027
+  (0.1ms) SAVEPOINT active_record_1
13028
+ 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-10-22 12:57:26.119824"], ["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-10-22 12:57:26.119824"]]
13029
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13030
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
13031
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
13032
+ Completed 200 OK in 3311ms (Views: 9.2ms | ActiveRecord: 1.9ms)
13033
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
13034
+ 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
13035
+  (1.4ms) rollback transaction
13036
+  (0.1ms) begin transaction
13037
+  (0.0ms) SAVEPOINT active_record_1
13038
+ SQL (0.3ms) 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-10-22 12:57:26.135297"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:57:26.135297"]]
13039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13040
+ Processing by PlaidRails::AccountsController#destroy as HTML
13041
+ Parameters: {"id"=>"1"}
13042
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
13043
+  (0.0ms) SAVEPOINT active_record_1
13044
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
13045
+ SQL (0.1ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
13046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13047
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
13048
+ Completed 200 OK in 251ms (Views: 4.4ms | ActiveRecord: 0.4ms)
13049
+  (1.3ms) rollback transaction
13050
+  (0.1ms) begin transaction
13051
+ Processing by PlaidRails::AccountsController#new as HTML
13052
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
13053
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
13054
+ Completed 200 OK in 264ms (Views: 4.1ms | ActiveRecord: 0.0ms)
13055
+  (0.1ms) rollback transaction
13056
+  (0.0ms) begin transaction
13057
+ Processing by PlaidRails::AccountsController#index as HTML
13058
+ Parameters: {"account"=>{"owner_id"=>"1"}}
13059
+ Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
13060
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
13061
+  (0.0ms) SAVEPOINT active_record_1
13062
+ SQL (0.3ms) 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-10-22 12:57:26.662025"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-22 12:57:26.662025"]]
13063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13064
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
13065
+  (1.3ms) rollback transaction