plaid_rails 0.7.0 → 0.8.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: 771ba4a90c8b9062f54c625fe4a278473141fab9
4
- data.tar.gz: 2ad9623012e8ff176e3840e54e105fb4cb651542
3
+ metadata.gz: 0cf047bde0f6ad2d7144168fef73048de2159d8a
4
+ data.tar.gz: 319c37d58db0f0f352faec6fc67d33fac5668a4b
5
5
  SHA512:
6
- metadata.gz: 0f3aa32864d39a3543a7f3ac47bc60ae3a895e2789a167314f4c0cd0992daae73716b26d1ea3f8a4f49d98a7004206facda5eec1baa205bd618d7d4f838576b7
7
- data.tar.gz: 075d3c3c7bca35df5c5fc0016568e41c4d59b189c6c06f4b8f2844c6359480995ff31f46c243f21817998c18df3e3a28fae1193ae6d30751bdfa9a33818147a3
6
+ metadata.gz: 40f0663a5ad07a1a4e3928ad60965a2cb58b5de24fab1fd7d84fa79313bd41144f17404d8dad77a5e3aefd4d2928a598cfb49dde87729038bb9dba3b99ad6cac
7
+ data.tar.gz: c8bcac2e6f86138c3f6fcabf98cd47297616efbe2bdd2eaa309cc55c037cb9284f543d9420b6d706864898653e71767c76913706cdb22725f55d69ea96fdecc0
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Plaid for Rails
2
2
 
3
- [ ![Codeship Status for cdwilhelm/plaid_rails](https://codeship.com/projects/0ffcd970-b638-0133-0560-5ef9b905983d/status?branch=master)](https://codeship.com/projects/134308)
3
+ [![Build Status](https://travis-ci.org/9kSoftware/plaid_rails.svg?branch=master)](https://travis-ci.org/9kSoftware/plaid_rails)
4
4
 
5
5
  This gem is a Rails Engine to provide an interface to [Plaid](http://plaid.com) using the plaid-ruby api
6
6
 
@@ -23,7 +23,8 @@ module PlaidRails
23
23
  @plaid_accounts =PlaidRails::Account.where(owner_type: link_params[:owner_type],
24
24
  owner_id: link_params[:owner_id])
25
25
  @plaid_accounts.each do |account|
26
- account.update(access_token: exchange_token.access_token)
26
+ account.update(access_token: exchange_token.access_token,
27
+ transactions_start_date: Date.today)
27
28
  end
28
29
  flash[:success]="You have successfully updated your account(s)"
29
30
  rescue => e
@@ -1,3 +1,3 @@
1
1
  module PlaidRails
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
@@ -20,13 +20,15 @@ module PlaidRails
20
20
  end
21
21
 
22
22
  it "update with public token" do
23
- account = create(:account)
23
+ account = create(:account, transactions_start_date: Date.today - 3)
24
24
  xhr :post, :update, public_token: 'test,wells,connected', name:'Wells Fargo', type: 'wells',
25
25
  owner_id: "1", owner_type: "User"
26
26
  expect(response).to be_success
27
27
  expect(assigns(:plaid_accounts)).to_not be_nil
28
+ expect(assigns(:plaid_accounts).first.transactions_start_date).to eq Date.today
28
29
  expect(response).to render_template('plaid_rails/link/update')
29
30
  end
31
+
30
32
  it {
31
33
  should permit(:public_token, :type,:name,:owner_id,:owner_type).
32
34
  for(:authenticate, verb: :post, format: :js)}
Binary file
@@ -36,7 +36,7 @@ ActiveRecord::Schema.define(version: 20160323141534) do
36
36
  add_index "plaid_rails_accounts", ["owner_id"], name: "index_plaid_rails_accounts_on_owner_id"
37
37
  add_index "plaid_rails_accounts", ["plaid_id"], name: "index_plaid_rails_accounts_on_plaid_id"
38
38
 
39
- create_table "plaid_rails_webhooks", force: true do |t|
39
+ create_table "webhooks", force: true do |t|
40
40
  t.integer "code"
41
41
  t.string "message"
42
42
  t.string "access_token"
@@ -29,3 +29,67 @@ Migrating to CreatePlaidRailsWebhooks (20160214150149)
29
29
   (0.2ms) DROP TABLE "plaid_rails_webhooks"
30
30
  SQLite3::SQLException: no such table: plaid_rails_webhooks: DROP TABLE "plaid_rails_webhooks"
31
31
   (0.0ms) rollback transaction
32
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
33
+ Migrating to CreatePlaidRailsAccounts (20160215155024)
34
+  (0.1ms) begin transaction
35
+  (0.7ms) 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) 
36
+  (0.1ms) select sqlite_version(*)
37
+  (0.2ms) CREATE INDEX "index_plaid_rails_accounts_on_access_token" ON "plaid_rails_accounts" ("access_token")
38
+  (0.1ms) SELECT sql
39
+ FROM sqlite_master
40
+ WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
41
+ UNION ALL
42
+ SELECT sql
43
+ FROM sqlite_temp_master
44
+ WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
45
+
46
+  (0.2ms) CREATE INDEX "index_plaid_rails_accounts_on_owner_id" ON "plaid_rails_accounts" ("owner_id")
47
+  (0.2ms) SELECT sql
48
+ FROM sqlite_master
49
+ WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
50
+ UNION ALL
51
+ SELECT sql
52
+ FROM sqlite_temp_master
53
+ WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
54
+
55
+  (0.1ms)  SELECT sql
56
+ FROM sqlite_master
57
+ WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
58
+ UNION ALL
59
+ SELECT sql
60
+ FROM sqlite_temp_master
61
+ WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
62
+ 
63
+  (0.2ms) CREATE INDEX "index_plaid_rails_accounts_on_plaid_id" ON "plaid_rails_accounts" ("plaid_id")
64
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160215155024"]]
65
+  (2.3ms) commit transaction
66
+ Migrating to AddTransactionsStartDateToAccounts (20160323141534)
67
+  (0.1ms) begin transaction
68
+  (18.2ms) ALTER TABLE "plaid_rails_accounts" ADD "transactions_start_date" date
69
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160323141534"]]
70
+  (0.8ms) commit transaction
71
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
72
+  (0.1ms) SELECT sql
73
+ FROM sqlite_master
74
+ WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
75
+ UNION ALL
76
+ SELECT sql
77
+ FROM sqlite_temp_master
78
+ WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
79
+
80
+  (0.1ms)  SELECT sql
81
+ FROM sqlite_master
82
+ WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
83
+ UNION ALL
84
+ SELECT sql
85
+ FROM sqlite_temp_master
86
+ WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
87
+ 
88
+  (0.1ms) SELECT sql
89
+ FROM sqlite_master
90
+ WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
91
+ UNION ALL
92
+ SELECT sql
93
+ FROM sqlite_temp_master
94
+ WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
95
+
@@ -10019,3 +10019,369 @@ Completed 200 OK in 2457ms (Views: 13.0ms | ActiveRecord: 2.9ms)
10019
10019
   (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
10020
10020
  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
10021
10021
   (1.4ms) rollback transaction
10022
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
10023
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10024
+  (0.1ms)  SELECT sql
10025
+ FROM sqlite_master
10026
+ WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
10027
+ UNION ALL
10028
+ SELECT sql
10029
+ FROM sqlite_temp_master
10030
+ WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
10031
+ 
10032
+  (0.1ms) SELECT sql
10033
+ FROM sqlite_master
10034
+ WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
10035
+ UNION ALL
10036
+ SELECT sql
10037
+ FROM sqlite_temp_master
10038
+ WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
10039
+
10040
+  (0.1ms)  SELECT sql
10041
+ FROM sqlite_master
10042
+ WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
10043
+ UNION ALL
10044
+ SELECT sql
10045
+ FROM sqlite_temp_master
10046
+ WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
10047
+ 
10048
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
10049
+  (0.1ms) begin transaction
10050
+ PlaidRails::Account Exists (1.3ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
10051
+  (0.1ms) SAVEPOINT active_record_1
10052
+ SQL (3.8ms) 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-15 15:34:35.835813"], ["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-15 15:34:35.835813"]]
10053
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10054
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
10055
+  (0.1ms) SAVEPOINT active_record_1
10056
+ 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-15 15:34:36.375698"], ["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-15 15:34:36.375698"]]
10057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10058
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
10059
+  (0.1ms) SAVEPOINT active_record_1
10060
+ 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-15 15:34:36.940814"], ["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-15 15:34:36.940814"]]
10061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10062
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
10063
+  (0.1ms) SAVEPOINT active_record_1
10064
+ 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-15 15:34:37.497705"], ["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-15 15:34:37.497705"]]
10065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10066
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
10067
+  (1.6ms) rollback transaction
10068
+  (0.1ms) begin transaction
10069
+  (0.1ms) SAVEPOINT active_record_1
10070
+ 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-15 15:34:37.508685"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["transactions_start_date", "2017-10-12"], ["updated_at", "2017-10-15 15:34:37.508685"]]
10071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10072
+ Processing by PlaidRails::LinkController#update as JS
10073
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
10074
+ 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
10075
+  (0.5ms) SAVEPOINT active_record_1
10076
+ SQL (0.1ms) UPDATE "plaid_rails_accounts" SET "transactions_start_date" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1 [["transactions_start_date", "2017-10-15"], ["updated_at", "2017-10-15 15:34:37.765901"]]
10077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10078
+ Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/link/update.js.erb (0.2ms)
10079
+ Completed 200 OK in 277ms (Views: 23.2ms | ActiveRecord: 0.9ms)
10080
+  (0.3ms) rollback transaction
10081
+  (0.0ms) begin transaction
10082
+ Processing by PlaidRails::LinkController#update as HTML
10083
+ 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.
10084
+ /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'
10085
+ /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'
10086
+ /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'
10087
+ /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'
10088
+ /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'
10089
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
10090
+ /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'
10091
+ /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'
10092
+ /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'
10093
+ /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'
10094
+ /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'
10095
+ /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'
10096
+ /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'
10097
+ /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'
10098
+ /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'
10099
+ /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'
10100
+ /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'
10101
+ /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'
10102
+ /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'
10103
+ /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'
10104
+ /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'
10105
+ /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'
10106
+ /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'
10107
+ /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'
10108
+ /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'
10109
+ /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?'
10110
+ /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'
10111
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
10112
+ /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?'
10113
+ /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'
10114
+ /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'
10115
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:36:in `block (2 levels) in <module:PlaidRails>'
10116
+ /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'
10117
+ /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'
10118
+ /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'
10119
+ /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>'
10120
+ /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'
10121
+ /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'
10122
+ /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'
10123
+ /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'
10124
+ /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'
10125
+ /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>'
10126
+ /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'
10127
+ /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'
10128
+ /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'
10129
+ /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'
10130
+ /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'
10131
+ /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'
10132
+ /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'
10133
+ /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'
10134
+ /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'
10135
+ /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'
10136
+ /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'
10137
+ /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'
10138
+ /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'
10139
+ /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'
10140
+ /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'
10141
+ /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'
10142
+ /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'
10143
+ /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'
10144
+ /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'
10145
+ /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'
10146
+ Completed 500 Internal Server Error in 256ms (Views: 1.0ms | ActiveRecord: 0.0ms)
10147
+  (0.1ms) rollback transaction
10148
+  (0.0ms) begin transaction
10149
+ Processing by PlaidRails::LinkController#authenticate as HTML
10150
+ 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.
10151
+ /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'
10152
+ /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'
10153
+ /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'
10154
+ /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'
10155
+ /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'
10156
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
10157
+ /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'
10158
+ /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'
10159
+ /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'
10160
+ /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'
10161
+ /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'
10162
+ /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'
10163
+ /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'
10164
+ /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'
10165
+ /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'
10166
+ /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'
10167
+ /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'
10168
+ /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'
10169
+ /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'
10170
+ /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'
10171
+ /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'
10172
+ /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'
10173
+ /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'
10174
+ /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'
10175
+ /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'
10176
+ /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?'
10177
+ /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'
10178
+ /Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
10179
+ /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?'
10180
+ /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'
10181
+ /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'
10182
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:33:in `block (2 levels) in <module:PlaidRails>'
10183
+ /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'
10184
+ /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'
10185
+ /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'
10186
+ /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>'
10187
+ /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'
10188
+ /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'
10189
+ /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'
10190
+ /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'
10191
+ /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'
10192
+ /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>'
10193
+ /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'
10194
+ /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'
10195
+ /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'
10196
+ /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'
10197
+ /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'
10198
+ /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'
10199
+ /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'
10200
+ /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'
10201
+ /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'
10202
+ /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'
10203
+ /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'
10204
+ /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'
10205
+ /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'
10206
+ /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'
10207
+ /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'
10208
+ /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'
10209
+ /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'
10210
+ /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'
10211
+ /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'
10212
+ /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'
10213
+ Completed 500 Internal Server Error in 280ms (Views: 0.4ms | ActiveRecord: 0.0ms)
10214
+  (0.1ms) rollback transaction
10215
+  (0.1ms) begin transaction
10216
+ Processing by PlaidRails::LinkController#authenticate as JS
10217
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
10218
+ 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.
10219
+ /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'
10220
+ /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'
10221
+ /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'
10222
+ /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'
10223
+ /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'
10224
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
10225
+ /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'
10226
+ /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'
10227
+ /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'
10228
+ /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'
10229
+ /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'
10230
+ /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'
10231
+ /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'
10232
+ /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'
10233
+ /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'
10234
+ /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'
10235
+ /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'
10236
+ /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'
10237
+ /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'
10238
+ /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'
10239
+ /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'
10240
+ /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'
10241
+ /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'
10242
+ /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'
10243
+ /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'
10244
+ /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'
10245
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
10246
+ /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'
10247
+ /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'
10248
+ /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'
10249
+ /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>'
10250
+ /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'
10251
+ /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'
10252
+ /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'
10253
+ /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'
10254
+ /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'
10255
+ /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>'
10256
+ /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'
10257
+ /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'
10258
+ /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'
10259
+ /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'
10260
+ /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'
10261
+ /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'
10262
+ /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'
10263
+ /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'
10264
+ /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'
10265
+ /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'
10266
+ /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'
10267
+ /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'
10268
+ /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'
10269
+ /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'
10270
+ /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'
10271
+ /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'
10272
+ /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'
10273
+ /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'
10274
+ /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'
10275
+ /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'
10276
+ Completed 500 Internal Server Error in 255ms (Views: 0.4ms | ActiveRecord: 0.0ms)
10277
+  (0.1ms) rollback transaction
10278
+  (0.0ms) begin transaction
10279
+ Processing by PlaidRails::LinkController#authenticate as JS
10280
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
10281
+ Completed 200 OK in 273ms (Views: 17.3ms | ActiveRecord: 0.0ms)
10282
+  (0.1ms) rollback transaction
10283
+  (0.1ms) begin transaction
10284
+  (0.1ms) rollback transaction
10285
+  (0.0ms) begin transaction
10286
+  (0.0ms) rollback transaction
10287
+  (0.0ms) begin transaction
10288
+  (0.0ms) rollback transaction
10289
+  (0.0ms) begin transaction
10290
+  (0.0ms) SAVEPOINT active_record_1
10291
+ SQL (0.5ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-10-15 15:34:38.902847"], ["message", "hello"], ["updated_at", "2017-10-15 15:34:38.902847"]]
10292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10293
+  (0.2ms) rollback transaction
10294
+  (0.0ms) begin transaction
10295
+ Processing by PlaidRails::AccountsController#index as HTML
10296
+ Parameters: {"account"=>{"owner_id"=>"1"}}
10297
+ Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
10298
+  (0.1ms) SAVEPOINT active_record_1
10299
+ 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-15 15:34:38.915338"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:38.915338"]]
10300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10301
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
10302
+  (0.3ms) rollback transaction
10303
+  (0.0ms) begin transaction
10304
+ Processing by PlaidRails::AccountsController#create as HTML
10305
+ 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"}}
10306
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
10307
+  (0.1ms) SAVEPOINT active_record_1
10308
+ 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-15 15:34:39.761202"], ["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-15 15:34:39.761202"]]
10309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10310
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
10311
+  (0.1ms) SAVEPOINT active_record_1
10312
+ 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-15 15:34:40.281944"], ["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-15 15:34:40.281944"]]
10313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10314
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
10315
+  (0.1ms) SAVEPOINT active_record_1
10316
+ 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-15 15:34:40.873968"], ["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-15 15:34:40.873968"]]
10317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10318
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
10319
+  (0.1ms) SAVEPOINT active_record_1
10320
+ 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-15 15:34:41.470270"], ["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-15 15:34:41.470270"]]
10321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10322
+ Completed 200 OK in 2271ms (Views: 4.1ms | ActiveRecord: 2.0ms)
10323
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
10324
+ 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
10325
+  (0.4ms) rollback transaction
10326
+  (0.0ms) begin transaction
10327
+  (0.1ms) SAVEPOINT active_record_1
10328
+ 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-15 15:34:41.480646"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:41.480646"]]
10329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10330
+ Processing by PlaidRails::AccountsController#destroy as HTML
10331
+ Parameters: {"id"=>"1"}
10332
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
10333
+  (0.0ms) SAVEPOINT active_record_1
10334
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10335
+ SQL (0.2ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
10336
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10337
+ Completed 200 OK in 262ms (Views: 4.4ms | ActiveRecord: 0.5ms)
10338
+  (0.5ms) rollback transaction
10339
+  (0.1ms) begin transaction
10340
+ Processing by PlaidRails::AccountsController#new as HTML
10341
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
10342
+ Completed 200 OK in 302ms (Views: 4.4ms | ActiveRecord: 0.0ms)
10343
+  (0.1ms) rollback transaction
10344
+  (0.1ms) begin transaction
10345
+ Processing by PlaidRails::WebhooksController#create as HTML
10346
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
10347
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
10348
+  (0.0ms) rollback transaction
10349
+  (0.0ms) begin transaction
10350
+  (0.0ms) SAVEPOINT active_record_1
10351
+ 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-15 15:34:42.056987"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.056987"]]
10352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10353
+  (0.0ms) SAVEPOINT active_record_1
10354
+ SQL (0.0ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
10355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10356
+  (0.3ms) rollback transaction
10357
+  (0.0ms) begin transaction
10358
+  (0.0ms) SAVEPOINT active_record_1
10359
+ 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-15 15:34:42.060243"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.060243"]]
10360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10361
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10362
+  (0.2ms) rollback transaction
10363
+  (0.0ms) begin transaction
10364
+  (0.0ms) rollback transaction
10365
+  (0.0ms) begin transaction
10366
+  (0.0ms) rollback transaction
10367
+  (0.0ms) begin transaction
10368
+  (0.0ms) rollback transaction
10369
+  (0.0ms) begin transaction
10370
+  (0.0ms) SAVEPOINT active_record_1
10371
+ 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-15 15:34:42.072770"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.072770"]]
10372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10373
+  (0.0ms) SAVEPOINT active_record_1
10374
+ 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-15 15:34:42.074125"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.074125"]]
10375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10376
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10377
+  (0.3ms) rollback transaction
10378
+  (0.0ms) begin transaction
10379
+  (0.0ms) SAVEPOINT active_record_1
10380
+ 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-15 15:34:42.076409"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.076409"]]
10381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10382
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
10383
+  (0.2ms) rollback transaction
10384
+  (0.0ms) begin transaction
10385
+  (0.0ms) rollback transaction
10386
+  (0.0ms) begin transaction
10387
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaid_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Curt Wilhelm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-24 00:00:00.000000000 Z
11
+ date: 2017-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
248
  version: '0'
249
249
  requirements: []
250
250
  rubyforge_project:
251
- rubygems_version: 2.4.5
251
+ rubygems_version: 2.5.1
252
252
  signing_key:
253
253
  specification_version: 4
254
254
  summary: A Rails Engine to work with Plaid