plaid_rails 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/controllers/plaid_rails/accounts_controller.rb +2 -1
- data/app/services/plaid_rails/create_account_service.rb +1 -0
- data/app/views/plaid_rails/accounts/new.html.erb +1 -0
- data/db/migrate/20160323141534_add_transactions_start_date_to_accounts.rb +5 -0
- data/lib/plaid_rails/version.rb +1 -1
- data/spec/dummy/db/schema.rb +4 -3
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +467 -0
- metadata +3 -2
@@ -33,7 +33,8 @@ module PlaidRails
|
|
33
33
|
|
34
34
|
# Never trust parameters from the scary internet, only allow the white list through.
|
35
35
|
def account_params
|
36
|
-
params.require(:account).permit(:token,:access_token, :type,:name
|
36
|
+
params.require(:account).permit(:token,:access_token, :type,:name,
|
37
|
+
:owner_id,:owner_type, :transactions_start_date, account_ids:[])
|
37
38
|
end
|
38
39
|
end
|
39
40
|
end
|
@@ -19,6 +19,7 @@ module PlaidRails
|
|
19
19
|
owner_type: account_params["owner_type"],
|
20
20
|
available_balance: account.available_balance,
|
21
21
|
current_balance: account.current_balance,
|
22
|
+
transactions_start_date: account_params["transactions_start_date"],
|
22
23
|
plaid_id: id
|
23
24
|
) unless PlaidRails::Account.exists?(plaid_id: id)
|
24
25
|
end
|
@@ -7,6 +7,7 @@
|
|
7
7
|
<%= hidden_field_tag "account[type]", params["type"] %>
|
8
8
|
<%= hidden_field_tag "account[owner_id]", params["owner_id"] %>
|
9
9
|
<%= hidden_field_tag "account[owner_type]", params["owner_type"] %>
|
10
|
+
<%= label_tag "start_date" %> <%= date_field_tag "account[transactions_start_date]" %>
|
10
11
|
<% @accounts.each_with_index do |account,index| %>
|
11
12
|
<%= check_box_tag "account[account_ids][]", account.id,nil,{id: "account_account_ids_#{index}"}%>
|
12
13
|
<label for="account_account_ids_<%=index%>"> <%= "#{account.meta["name"]} - #{account.meta["number"]}"%></label><br/>
|
data/lib/plaid_rails/version.rb
CHANGED
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20160323141534) do
|
15
15
|
|
16
16
|
create_table "plaid_rails_accounts", force: true do |t|
|
17
17
|
t.string "access_token"
|
@@ -24,11 +24,12 @@ ActiveRecord::Schema.define(version: 20160215155024) do
|
|
24
24
|
t.string "owner_type"
|
25
25
|
t.integer "owner_id"
|
26
26
|
t.datetime "last_sync"
|
27
|
-
t.decimal "current_balance",
|
28
|
-
t.decimal "available_balance",
|
27
|
+
t.decimal "current_balance", precision: 10, scale: 2
|
28
|
+
t.decimal "available_balance", precision: 10, scale: 2
|
29
29
|
t.string "error"
|
30
30
|
t.datetime "created_at"
|
31
31
|
t.datetime "updated_at"
|
32
|
+
t.date "transactions_start_date"
|
32
33
|
end
|
33
34
|
|
34
35
|
add_index "plaid_rails_accounts", ["access_token"], name: "index_plaid_rails_accounts_on_access_token"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -2291,3 +2291,470 @@ Processing by PlaidRails::AccountsController#destroy as HTML
|
|
2291
2291
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2292
2292
|
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.6ms)
|
2293
2293
|
[1m[35m (0.7ms)[0m rollback transaction
|
2294
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2295
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "plaid_rails_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "access_token" varchar(255), "token" varchar(255), "plaid_type" varchar(255), "name" varchar(255), "bank_name" varchar(255), "number" integer, "plaid_id" varchar(255), "owner_type" varchar(255), "owner_id" integer, "last_sync" datetime, "current_balance" decimal(10,2), "available_balance" decimal(10,2), "error" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
2296
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
2297
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_plaid_rails_accounts_on_access_token" ON "plaid_rails_accounts" ("access_token")[0m
|
2298
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2299
|
+
FROM sqlite_master
|
2300
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2301
|
+
UNION ALL
|
2302
|
+
SELECT sql
|
2303
|
+
FROM sqlite_temp_master
|
2304
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2305
|
+
|
2306
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_plaid_rails_accounts_on_owner_id" ON "plaid_rails_accounts" ("owner_id")[0m
|
2307
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2308
|
+
FROM sqlite_master
|
2309
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
2310
|
+
UNION ALL
|
2311
|
+
SELECT sql
|
2312
|
+
FROM sqlite_temp_master
|
2313
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
2314
|
+
|
2315
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2316
|
+
FROM sqlite_master
|
2317
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2318
|
+
UNION ALL
|
2319
|
+
SELECT sql
|
2320
|
+
FROM sqlite_temp_master
|
2321
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2322
|
+
[0m
|
2323
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_plaid_rails_accounts_on_plaid_id" ON "plaid_rails_accounts" ("plaid_id")
|
2324
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "plaid_rails_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" integer, "message" varchar(255), "access_token" varchar(255), "params" text, "created_at" datetime, "updated_at" datetime) [0m
|
2325
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2326
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2327
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
2328
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160215155024')[0m
|
2329
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2330
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2331
|
+
Migrating to CreatePlaidRailsWebhooks (20160214150149)
|
2332
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2333
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "plaid_rails_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" integer, "message" varchar(255), "access_token" varchar(255), "params" text, "created_at" datetime, "updated_at" datetime) [0m
|
2334
|
+
SQLite3::SQLException: table "plaid_rails_webhooks" already exists: CREATE TABLE "plaid_rails_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" integer, "message" varchar(255), "access_token" varchar(255), "params" text, "created_at" datetime, "updated_at" datetime)
|
2335
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2336
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2337
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "plaid_rails_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "access_token" varchar(255), "token" varchar(255), "plaid_type" varchar(255), "name" varchar(255), "bank_name" varchar(255), "number" integer, "plaid_id" varchar(255), "owner_type" varchar(255), "owner_id" integer, "last_sync" datetime, "current_balance" decimal(10,2), "available_balance" decimal(10,2), "error" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
2338
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
2339
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_plaid_rails_accounts_on_access_token" ON "plaid_rails_accounts" ("access_token")[0m
|
2340
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2341
|
+
FROM sqlite_master
|
2342
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2343
|
+
UNION ALL
|
2344
|
+
SELECT sql
|
2345
|
+
FROM sqlite_temp_master
|
2346
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2347
|
+
|
2348
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_plaid_rails_accounts_on_owner_id" ON "plaid_rails_accounts" ("owner_id")[0m
|
2349
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2350
|
+
FROM sqlite_master
|
2351
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
2352
|
+
UNION ALL
|
2353
|
+
SELECT sql
|
2354
|
+
FROM sqlite_temp_master
|
2355
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
2356
|
+
|
2357
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2358
|
+
FROM sqlite_master
|
2359
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2360
|
+
UNION ALL
|
2361
|
+
SELECT sql
|
2362
|
+
FROM sqlite_temp_master
|
2363
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2364
|
+
[0m
|
2365
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_plaid_rails_accounts_on_plaid_id" ON "plaid_rails_accounts" ("plaid_id")
|
2366
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "plaid_rails_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" integer, "message" varchar(255), "access_token" varchar(255), "params" text, "created_at" datetime, "updated_at" datetime) [0m
|
2367
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
2368
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2369
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
2370
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160215155024')[0m
|
2371
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2372
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2373
|
+
Migrating to CreatePlaidRailsWebhooks (20160214150149)
|
2374
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2375
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "plaid_rails_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" integer, "message" varchar(255), "access_token" varchar(255), "params" text, "created_at" datetime, "updated_at" datetime) [0m
|
2376
|
+
SQLite3::SQLException: table "plaid_rails_webhooks" already exists: CREATE TABLE "plaid_rails_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" integer, "message" varchar(255), "access_token" varchar(255), "params" text, "created_at" datetime, "updated_at" datetime)
|
2377
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2378
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2379
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
2380
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2381
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2382
|
+
Migrating to CreatePlaidRailsWebhooks (20160214150149)
|
2383
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2384
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "plaid_rails_webhooks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" integer, "message" varchar(255), "access_token" varchar(255), "params" text, "created_at" datetime, "updated_at" datetime)
|
2385
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160214150149"]]
|
2386
|
+
[1m[35m (0.7ms)[0m commit transaction
|
2387
|
+
Migrating to CreatePlaidRailsAccounts (20160215155024)
|
2388
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2389
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "plaid_rails_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "access_token" varchar(255), "token" varchar(255), "plaid_type" varchar(255), "name" varchar(255), "bank_name" varchar(255), "number" integer, "plaid_id" varchar(255), "owner_type" varchar(255), "owner_id" integer, "last_sync" datetime, "current_balance" decimal(10,2), "available_balance" decimal(10,2), "error" varchar(255), "created_at" datetime, "updated_at" datetime)
|
2390
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_plaid_rails_accounts_on_access_token" ON "plaid_rails_accounts" ("access_token")[0m
|
2391
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2392
|
+
FROM sqlite_master
|
2393
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2394
|
+
UNION ALL
|
2395
|
+
SELECT sql
|
2396
|
+
FROM sqlite_temp_master
|
2397
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2398
|
+
|
2399
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_plaid_rails_accounts_on_owner_id" ON "plaid_rails_accounts" ("owner_id")[0m
|
2400
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2401
|
+
FROM sqlite_master
|
2402
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
2403
|
+
UNION ALL
|
2404
|
+
SELECT sql
|
2405
|
+
FROM sqlite_temp_master
|
2406
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
2407
|
+
|
2408
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2409
|
+
FROM sqlite_master
|
2410
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2411
|
+
UNION ALL
|
2412
|
+
SELECT sql
|
2413
|
+
FROM sqlite_temp_master
|
2414
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2415
|
+
[0m
|
2416
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_plaid_rails_accounts_on_plaid_id" ON "plaid_rails_accounts" ("plaid_id")
|
2417
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160215155024"]]
|
2418
|
+
[1m[35m (0.9ms)[0m commit transaction
|
2419
|
+
Migrating to AddTransactionsStartDateToAccounts (20160323141534)
|
2420
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2421
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "plaid_rails_accounts" ADD "transactions_start_date" date
|
2422
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160323141534"]]
|
2423
|
+
[1m[35m (0.8ms)[0m commit transaction
|
2424
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2425
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
2426
|
+
FROM sqlite_master
|
2427
|
+
WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
|
2428
|
+
UNION ALL
|
2429
|
+
SELECT sql
|
2430
|
+
FROM sqlite_temp_master
|
2431
|
+
WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
|
2432
|
+
|
2433
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2434
|
+
FROM sqlite_master
|
2435
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
2436
|
+
UNION ALL
|
2437
|
+
SELECT sql
|
2438
|
+
FROM sqlite_temp_master
|
2439
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
2440
|
+
[0m
|
2441
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2442
|
+
FROM sqlite_master
|
2443
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2444
|
+
UNION ALL
|
2445
|
+
SELECT sql
|
2446
|
+
FROM sqlite_temp_master
|
2447
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
2448
|
+
|
2449
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2451
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2452
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2453
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2454
|
+
[1m[35m (0.4ms)[0m begin transaction
|
2455
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2456
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2457
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2458
|
+
[1m[35mSQL (3.8ms)[0m INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2016-03-24 15:00:33.895836"], ["message", "hello"], ["updated_at", "2016-03-24 15:00:33.895836"]]
|
2459
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2460
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2462
|
+
[1m[35mPlaidRails::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
|
2463
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2464
|
+
[1m[35mSQL (0.6ms)[0m 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", "2016-03-24 15:00:36.507386"], ["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", "2016-03-24 15:00:36.507386"]]
|
2465
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2466
|
+
[1m[35mPlaidRails::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
|
2467
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2468
|
+
[1m[35mSQL (1.8ms)[0m 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", "2016-03-24 15:00:37.171384"], ["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", "2016-03-24 15:00:37.171384"]]
|
2469
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2470
|
+
[1m[35mPlaidRails::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
|
2471
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2472
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-24 15:00:37.882759"], ["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", "2016-03-24 15:00:37.882759"]]
|
2473
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2474
|
+
[1m[35mPlaidRails::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
|
2475
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2476
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-24 15:00:38.665591"], ["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", "2016-03-24 15:00:38.665591"]]
|
2477
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2478
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
|
2479
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2480
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2481
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2482
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2483
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2484
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2485
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2486
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2487
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2488
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2489
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2490
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2491
|
+
Processing by PlaidRails::AccountsController#create as HTML
|
2492
|
+
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"}}
|
2493
|
+
[1m[36mPlaidRails::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1[0m
|
2494
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2495
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-24 15:00:39.719883"], ["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", "2016-03-24 15:00:39.719883"]]
|
2496
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2497
|
+
[1m[36mPlaidRails::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1[0m
|
2498
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2499
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-24 15:00:40.363923"], ["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", "2016-03-24 15:00:40.363923"]]
|
2500
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2501
|
+
[1m[36mPlaidRails::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1[0m
|
2502
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2503
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-24 15:00:41.016897"], ["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", "2016-03-24 15:00:41.016897"]]
|
2504
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2505
|
+
[1m[36mPlaidRails::Account Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1[0m
|
2506
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2507
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-24 15:00:41.718416"], ["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", "2016-03-24 15:00:41.718416"]]
|
2508
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2509
|
+
Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/accounts/create.html.erb within layouts/plaid_rails/application (0.4ms)
|
2510
|
+
Completed 200 OK in 2731ms (Views: 88.0ms | ActiveRecord: 2.9ms)
|
2511
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'[0m
|
2512
|
+
[1m[35mPlaidRails::Account Load (0.2ms)[0m 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
|
2513
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2514
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2515
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2516
|
+
[1m[35mSQL (0.5ms)[0m 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", "2016-03-24 15:00:41.818509"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-24 15:00:41.818509"]]
|
2517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2518
|
+
Processing by PlaidRails::AccountsController#destroy as HTML
|
2519
|
+
Parameters: {"id"=>"1"}
|
2520
|
+
[1m[35mPlaidRails::Account Load (0.1ms)[0m SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
|
2521
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2522
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
|
2523
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2524
|
+
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.7ms)
|
2525
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2526
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2527
|
+
Processing by PlaidRails::AccountsController#new as HTML
|
2528
|
+
Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
|
2529
|
+
Completed 200 OK in 390ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
2530
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2532
|
+
Processing by PlaidRails::AccountsController#index as HTML
|
2533
|
+
Parameters: {"account"=>{"owner_id"=>"1"}}
|
2534
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
2535
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2536
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-24 15:00:42.229284"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-24 15:00:42.229284"]]
|
2537
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2538
|
+
[1m[36mPlaidRails::Account Load (0.1ms)[0m [1mSELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1[0m
|
2539
|
+
[1m[35m (2.2ms)[0m rollback transaction
|
2540
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2541
|
+
Processing by PlaidRails::LinkController#authenticate as HTML
|
2542
|
+
Error: unauthorized product
|
2543
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
|
2544
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
|
2545
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
|
2546
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
|
2547
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
2548
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
|
2549
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
2550
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
2551
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
|
2552
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
|
2553
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
|
2554
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
2555
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
|
2556
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
2557
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
|
2558
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
2559
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
2560
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
2561
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
|
2562
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
|
2563
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
|
2564
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
|
2565
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
|
2566
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
|
2567
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
|
2568
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
|
2569
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
|
2570
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
|
2571
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
|
2572
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:32:in `block (2 levels) in <module:PlaidRails>'
|
2573
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
2574
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
2575
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
|
2576
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
|
2577
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
|
2578
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
2579
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
2580
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
2581
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
2582
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
|
2583
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
|
2584
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
|
2585
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
2586
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
2587
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
2588
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
2589
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
|
2590
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
|
2591
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
|
2592
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
|
2593
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
|
2594
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
|
2595
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
|
2596
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
|
2597
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
|
2598
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
|
2599
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
|
2600
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
|
2601
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
|
2602
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
|
2603
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
|
2604
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
|
2605
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
|
2606
|
+
Completed 500 Internal Server Error in 365ms (Views: 5.6ms | ActiveRecord: 0.0ms)
|
2607
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2608
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2609
|
+
Processing by PlaidRails::LinkController#authenticate as JS
|
2610
|
+
Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
|
2611
|
+
Error: unauthorized product
|
2612
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
|
2613
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
|
2614
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
|
2615
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
|
2616
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
2617
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
|
2618
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
2619
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
2620
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
|
2621
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
|
2622
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
|
2623
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
2624
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
|
2625
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
2626
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
|
2627
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
2628
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
2629
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
2630
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
|
2631
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
|
2632
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
|
2633
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
|
2634
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
|
2635
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
|
2636
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
|
2637
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
2638
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
2639
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
|
2640
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
|
2641
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
|
2642
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
2643
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
2644
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
2645
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
2646
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
|
2647
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
|
2648
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
|
2649
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
2650
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
2651
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
2652
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
2653
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
|
2654
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
|
2655
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
|
2656
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
|
2657
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
|
2658
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
|
2659
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
|
2660
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
|
2661
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
|
2662
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
|
2663
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
|
2664
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
|
2665
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
|
2666
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
|
2667
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
|
2668
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
|
2669
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
|
2670
|
+
Completed 500 Internal Server Error in 439ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
2671
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2673
|
+
Processing by PlaidRails::LinkController#update as HTML
|
2674
|
+
Error: unauthorized product
|
2675
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
|
2676
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
|
2677
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
|
2678
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
|
2679
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
2680
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
|
2681
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
2682
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
2683
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
|
2684
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
|
2685
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
|
2686
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
2687
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
|
2688
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
2689
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
|
2690
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
2691
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
2692
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
2693
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
|
2694
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
|
2695
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
|
2696
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
|
2697
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
|
2698
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
|
2699
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
|
2700
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
|
2701
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
|
2702
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
|
2703
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
|
2704
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:35:in `block (2 levels) in <module:PlaidRails>'
|
2705
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
2706
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
2707
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
|
2708
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
|
2709
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
|
2710
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
2711
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
2712
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
2713
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
2714
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
|
2715
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
|
2716
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
|
2717
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
2718
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
2719
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
2720
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
2721
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
|
2722
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
|
2723
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
|
2724
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
|
2725
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
|
2726
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
|
2727
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
|
2728
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
|
2729
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
|
2730
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
|
2731
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
|
2732
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
|
2733
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
|
2734
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
|
2735
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
|
2736
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
|
2737
|
+
/Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
|
2738
|
+
Completed 500 Internal Server Error in 349ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
2739
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2740
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2741
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2742
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-24 15:00:43.402646"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-24 15:00:43.402646"]]
|
2743
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2744
|
+
Processing by PlaidRails::LinkController#update as JS
|
2745
|
+
Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
|
2746
|
+
[1m[36mPlaidRails::Account Load (0.2ms)[0m [1mSELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1[0m
|
2747
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2748
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2749
|
+
Completed 200 OK in 356ms (Views: 9.2ms | ActiveRecord: 0.3ms)
|
2750
|
+
[1m[35m (2.2ms)[0m rollback transaction
|
2751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2752
|
+
Processing by PlaidRails::LinkController#authenticate as JS
|
2753
|
+
Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
|
2754
|
+
Completed 200 OK in 358ms (Views: 9.9ms | ActiveRecord: 0.0ms)
|
2755
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2756
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2757
|
+
Processing by PlaidRails::WebhooksController#create as HTML
|
2758
|
+
Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
|
2759
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2760
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plaid_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-03-
|
12
|
+
date: 2016-03-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -186,6 +186,7 @@ files:
|
|
186
186
|
- config/routes.rb
|
187
187
|
- db/migrate/20160214150149_create_plaid_rails_webhooks.rb
|
188
188
|
- db/migrate/20160215155024_create_plaid_rails_accounts.rb
|
189
|
+
- db/migrate/20160323141534_add_transactions_start_date_to_accounts.rb
|
189
190
|
- db/test.sqlite3
|
190
191
|
- lib/generators/plaid_rails/install_generator.rb
|
191
192
|
- lib/generators/plaid_rails/templates/initializer.rb
|