plaid_rails 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -8978,3 +8978,1044 @@ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8978
8978
  SQL (0.7ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-02-02 03:01:55.097384"], ["message", "hello"], ["updated_at", "2017-02-02 03:01:55.097384"]]
8979
8979
   (0.0ms) RELEASE SAVEPOINT active_record_1
8980
8980
   (0.3ms) rollback transaction
8981
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
8982
+  (0.1ms) begin transaction
8983
+ Processing by PlaidRails::AccountsController#index as HTML
8984
+ Parameters: {"account"=>{"owner_id"=>"1"}}
8985
+ Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/accounts/index.html.erb within layouts/plaid_rails/application (0.4ms)
8986
+ Completed 200 OK in 22ms (Views: 17.1ms | ActiveRecord: 0.0ms)
8987
+  (0.1ms) SAVEPOINT active_record_1
8988
+ SQL (3.6ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:28.972448"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:10:28.972448"]]
8989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8990
+  (2.5ms) rollback transaction
8991
+  (0.1ms) begin transaction
8992
+ Processing by PlaidRails::AccountsController#new as HTML
8993
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
8994
+ Completed 200 OK in 1773ms (Views: 3.8ms | ActiveRecord: 0.0ms)
8995
+  (0.1ms) rollback transaction
8996
+  (0.0ms) begin transaction
8997
+  (0.1ms) SAVEPOINT active_record_1
8998
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:30.764911"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:10:30.764911"]]
8999
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9000
+ Processing by PlaidRails::AccountsController#destroy as HTML
9001
+ Parameters: {"id"=>"1"}
9002
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
9003
+  (0.1ms) SAVEPOINT active_record_1
9004
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9005
+ SQL (0.6ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
9006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9007
+ Completed 200 OK in 1253ms (Views: 4.6ms | ActiveRecord: 1.1ms)
9008
+  (2.7ms) rollback transaction
9009
+  (0.1ms) begin transaction
9010
+ Processing by PlaidRails::AccountsController#create as HTML
9011
+ 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"}}
9012
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
9013
+  (0.1ms) SAVEPOINT active_record_1
9014
+ SQL (0.6ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:32.795890"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:10:32.795890"]]
9015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9016
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
9017
+  (0.1ms) SAVEPOINT active_record_1
9018
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:33.340796"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:10:33.340796"]]
9019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9020
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
9021
+  (0.1ms) SAVEPOINT active_record_1
9022
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:33.859976"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:10:33.859976"]]
9023
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9024
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
9025
+  (0.1ms) SAVEPOINT active_record_1
9026
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:34.397204"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:10:34.397204"]]
9027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9028
+ Completed 200 OK in 2137ms (Views: 4.8ms | ActiveRecord: 2.8ms)
9029
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
9030
+ 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
9031
+  (2.7ms) rollback transaction
9032
+  (0.1ms) begin transaction
9033
+ Processing by PlaidRails::WebhooksController#create as HTML
9034
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
9035
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
9036
+  (0.1ms) rollback transaction
9037
+  (0.0ms) begin transaction
9038
+ Processing by PlaidRails::LinkController#authenticate as JS
9039
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
9040
+ Completed 200 OK in 272ms (Views: 41.6ms | ActiveRecord: 0.0ms)
9041
+  (0.1ms) rollback transaction
9042
+  (0.1ms) begin transaction
9043
+ Processing by PlaidRails::LinkController#authenticate as JS
9044
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
9045
+ 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.
9046
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
9047
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
9048
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
9049
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
9050
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
9051
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
9052
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9053
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
9054
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
9055
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9056
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
9057
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
9058
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
9059
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
9060
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
9061
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9062
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
9063
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9064
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9065
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9066
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
9067
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
9068
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
9069
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
9070
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
9071
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
9072
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
9073
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9074
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9075
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
9076
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
9077
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
9078
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9079
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9080
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9081
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9082
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
9083
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
9084
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
9085
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9086
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9087
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9088
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9089
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
9090
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
9091
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
9092
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
9093
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
9094
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
9095
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
9096
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
9097
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
9098
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
9099
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
9100
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
9101
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
9102
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
9103
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
9104
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
9105
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
9106
+ Completed 500 Internal Server Error in 239ms (Views: 4.0ms | ActiveRecord: 0.0ms)
9107
+  (0.2ms) rollback transaction
9108
+  (0.1ms) begin transaction
9109
+ Processing by PlaidRails::LinkController#authenticate as HTML
9110
+ 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.
9111
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
9112
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
9113
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
9114
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
9115
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
9116
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
9117
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9118
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
9119
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
9120
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9121
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
9122
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
9123
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
9124
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
9125
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
9126
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9127
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
9128
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9129
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9130
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9131
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
9132
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
9133
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
9134
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
9135
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
9136
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
9137
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
9138
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
9139
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
9140
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
9141
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
9142
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:31:in `block (2 levels) in <module:PlaidRails>'
9143
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9144
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9145
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
9146
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
9147
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
9148
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9149
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9150
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9151
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9152
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
9153
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
9154
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
9155
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9156
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9157
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9158
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9159
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
9160
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
9161
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
9162
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
9163
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
9164
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
9165
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
9166
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
9167
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
9168
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
9169
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
9170
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
9171
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
9172
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
9173
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
9174
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
9175
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
9176
+ Completed 500 Internal Server Error in 225ms (Views: 0.6ms | ActiveRecord: 0.0ms)
9177
+  (0.1ms) rollback transaction
9178
+  (0.1ms) begin transaction
9179
+  (0.1ms) SAVEPOINT active_record_1
9180
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:35.178943"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:10:35.178943"]]
9181
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9182
+ Processing by PlaidRails::LinkController#update as JS
9183
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
9184
+ 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
9185
+  (0.0ms) SAVEPOINT active_record_1
9186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9187
+ Completed 200 OK in 270ms (Views: 30.8ms | ActiveRecord: 0.3ms)
9188
+  (0.5ms) rollback transaction
9189
+  (0.1ms) begin transaction
9190
+ Processing by PlaidRails::LinkController#update as HTML
9191
+ 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.
9192
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
9193
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
9194
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
9195
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
9196
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
9197
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
9198
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9199
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
9200
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
9201
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9202
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
9203
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
9204
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
9205
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
9206
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
9207
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9208
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
9209
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9210
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9211
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9212
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
9213
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
9214
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
9215
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
9216
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
9217
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
9218
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
9219
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
9220
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
9221
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
9222
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
9223
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:34:in `block (2 levels) in <module:PlaidRails>'
9224
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9225
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9226
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
9227
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
9228
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
9229
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9230
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9231
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9232
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9233
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
9234
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
9235
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
9236
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9237
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9238
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9239
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9240
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
9241
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
9242
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
9243
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
9244
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
9245
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
9246
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
9247
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
9248
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
9249
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
9250
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
9251
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
9252
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
9253
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
9254
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
9255
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
9256
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
9257
+ Completed 500 Internal Server Error in 238ms (Views: 0.5ms | ActiveRecord: 0.0ms)
9258
+  (0.1ms) rollback transaction
9259
+  (0.1ms) begin transaction
9260
+  (0.1ms) rollback transaction
9261
+  (0.0ms) begin transaction
9262
+  (0.1ms) SAVEPOINT active_record_1
9263
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:35.706777"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:10:35.706777"]]
9264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9265
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9266
+  (2.3ms) rollback transaction
9267
+  (0.0ms) begin transaction
9268
+  (0.0ms) SAVEPOINT active_record_1
9269
+ 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-02-24 14:10:35.713419"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:10:35.713419"]]
9270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9271
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9272
+  (0.4ms) rollback transaction
9273
+  (0.0ms) begin transaction
9274
+  (0.1ms) rollback transaction
9275
+  (0.1ms) begin transaction
9276
+  (0.0ms) SAVEPOINT active_record_1
9277
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:35.724717"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:10:35.724717"]]
9278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9279
+  (0.1ms) SAVEPOINT active_record_1
9280
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:35.727179"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:10:35.727179"]]
9281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9282
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9283
+  (0.7ms) rollback transaction
9284
+  (0.0ms) begin transaction
9285
+  (0.1ms) SAVEPOINT active_record_1
9286
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:35.731669"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:10:35.731669"]]
9287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9288
+  (0.0ms) SAVEPOINT active_record_1
9289
+ SQL (0.4ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
9290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9291
+  (0.6ms) rollback transaction
9292
+  (0.0ms) begin transaction
9293
+  (0.1ms) rollback transaction
9294
+  (0.0ms) begin transaction
9295
+  (0.1ms) rollback transaction
9296
+  (0.1ms) begin transaction
9297
+  (0.1ms) rollback transaction
9298
+  (0.0ms) begin transaction
9299
+ PlaidRails::Account Exists (0.3ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
9300
+  (0.1ms) SAVEPOINT active_record_1
9301
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:36.535817"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:10:36.535817"]]
9302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9303
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
9304
+  (0.1ms) SAVEPOINT active_record_1
9305
+ SQL (0.6ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:37.049794"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:10:37.049794"]]
9306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9307
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
9308
+  (0.1ms) SAVEPOINT active_record_1
9309
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:37.568125"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:10:37.568125"]]
9310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9311
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
9312
+  (0.1ms) SAVEPOINT active_record_1
9313
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:10:38.089564"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:10:38.089564"]]
9314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9315
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
9316
+  (2.6ms) rollback transaction
9317
+  (0.1ms) begin transaction
9318
+  (0.1ms) rollback transaction
9319
+  (0.1ms) begin transaction
9320
+  (0.1ms) rollback transaction
9321
+  (0.0ms) begin transaction
9322
+  (0.1ms) rollback transaction
9323
+  (0.1ms) begin transaction
9324
+  (0.1ms) SAVEPOINT active_record_1
9325
+ SQL (0.7ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-02-24 14:10:38.123865"], ["message", "hello"], ["updated_at", "2017-02-24 14:10:38.123865"]]
9326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9327
+  (0.3ms) rollback transaction
9328
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9329
+  (0.1ms) begin transaction
9330
+ Processing by PlaidRails::WebhooksController#create as HTML
9331
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
9332
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
9333
+  (0.1ms) rollback transaction
9334
+  (0.1ms) begin transaction
9335
+  (0.1ms) rollback transaction
9336
+  (0.0ms) begin transaction
9337
+  (0.0ms) SAVEPOINT active_record_1
9338
+ SQL (0.6ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:06.141448"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:12:06.141448"]]
9339
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9340
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9341
+  (2.2ms) rollback transaction
9342
+  (0.0ms) begin transaction
9343
+  (0.0ms) rollback transaction
9344
+  (0.0ms) begin transaction
9345
+  (0.1ms) rollback transaction
9346
+  (0.0ms) begin transaction
9347
+  (0.1ms) rollback transaction
9348
+  (0.0ms) begin transaction
9349
+  (0.0ms) SAVEPOINT active_record_1
9350
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:06.175033"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:12:06.175033"]]
9351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9352
+  (0.0ms) SAVEPOINT active_record_1
9353
+ SQL (0.6ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
9354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9355
+  (0.7ms) rollback transaction
9356
+  (0.0ms) begin transaction
9357
+  (0.1ms) rollback transaction
9358
+  (0.0ms) begin transaction
9359
+  (0.3ms) SAVEPOINT active_record_1
9360
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:06.187502"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:12:06.187502"]]
9361
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9362
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9363
+  (0.5ms) rollback transaction
9364
+  (0.1ms) begin transaction
9365
+  (0.1ms) SAVEPOINT active_record_1
9366
+ SQL (0.6ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:06.193428"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:12:06.193428"]]
9367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9368
+  (0.0ms) SAVEPOINT active_record_1
9369
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:06.196374"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:12:06.196374"]]
9370
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9371
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9372
+  (1.4ms) rollback transaction
9373
+  (0.1ms) begin transaction
9374
+ Processing by PlaidRails::LinkController#authenticate as JS
9375
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
9376
+ 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.
9377
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
9378
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
9379
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
9380
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
9381
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
9382
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
9383
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9384
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
9385
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
9386
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9387
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
9388
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
9389
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
9390
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
9391
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
9392
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9393
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
9394
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9395
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9396
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9397
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
9398
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
9399
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
9400
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
9401
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
9402
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
9403
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
9404
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9405
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9406
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
9407
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
9408
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
9409
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9410
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9411
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9412
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9413
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
9414
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
9415
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
9416
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9417
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9418
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9419
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9420
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
9421
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
9422
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
9423
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
9424
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
9425
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
9426
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
9427
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
9428
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
9429
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
9430
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
9431
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
9432
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
9433
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
9434
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
9435
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
9436
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
9437
+ Completed 500 Internal Server Error in 691ms (Views: 7.9ms | ActiveRecord: 0.0ms)
9438
+  (0.1ms) rollback transaction
9439
+  (0.1ms) begin transaction
9440
+  (0.0ms) SAVEPOINT active_record_1
9441
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:06.899726"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:12:06.899726"]]
9442
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9443
+ Processing by PlaidRails::LinkController#update as JS
9444
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
9445
+ 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
9446
+  (0.1ms) SAVEPOINT active_record_1
9447
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9448
+ Completed 200 OK in 258ms (Views: 35.8ms | ActiveRecord: 0.3ms)
9449
+  (2.3ms) rollback transaction
9450
+  (0.0ms) begin transaction
9451
+ Processing by PlaidRails::LinkController#authenticate as JS
9452
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
9453
+ Completed 200 OK in 254ms (Views: 29.7ms | ActiveRecord: 0.0ms)
9454
+  (0.1ms) rollback transaction
9455
+  (0.0ms) begin transaction
9456
+ Processing by PlaidRails::LinkController#update as HTML
9457
+ 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.
9458
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
9459
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
9460
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
9461
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
9462
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
9463
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
9464
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9465
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
9466
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
9467
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9468
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
9469
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
9470
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
9471
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
9472
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
9473
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9474
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
9475
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9476
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9477
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9478
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
9479
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
9480
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
9481
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
9482
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
9483
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
9484
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
9485
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
9486
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
9487
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
9488
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
9489
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:34:in `block (2 levels) in <module:PlaidRails>'
9490
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9491
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9492
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
9493
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
9494
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
9495
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9496
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9497
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9498
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9499
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
9500
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
9501
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
9502
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9503
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9504
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9505
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9506
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
9507
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
9508
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
9509
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
9510
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
9511
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
9512
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
9513
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
9514
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
9515
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
9516
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
9517
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
9518
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
9519
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
9520
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
9521
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
9522
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
9523
+ Completed 500 Internal Server Error in 235ms (Views: 0.6ms | ActiveRecord: 0.0ms)
9524
+  (0.1ms) rollback transaction
9525
+  (0.1ms) begin transaction
9526
+ Processing by PlaidRails::LinkController#authenticate as HTML
9527
+ 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.
9528
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
9529
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
9530
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
9531
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
9532
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
9533
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
9534
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9535
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
9536
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
9537
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9538
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
9539
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
9540
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
9541
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
9542
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
9543
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9544
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
9545
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9546
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9547
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9548
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
9549
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
9550
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
9551
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
9552
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
9553
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
9554
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
9555
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
9556
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
9557
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
9558
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
9559
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:31:in `block (2 levels) in <module:PlaidRails>'
9560
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9561
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9562
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
9563
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
9564
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
9565
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9566
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9567
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9568
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9569
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
9570
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
9571
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
9572
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9573
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9574
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9575
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9576
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
9577
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
9578
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
9579
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
9580
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
9581
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
9582
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
9583
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
9584
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
9585
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
9586
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
9587
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
9588
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
9589
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
9590
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
9591
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
9592
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
9593
+ Completed 500 Internal Server Error in 238ms (Views: 0.4ms | ActiveRecord: 0.0ms)
9594
+  (0.1ms) rollback transaction
9595
+  (0.1ms) begin transaction
9596
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
9597
+  (0.1ms) SAVEPOINT active_record_1
9598
+ SQL (0.7ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:08.681838"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:12:08.681838"]]
9599
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9600
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
9601
+  (0.1ms) SAVEPOINT active_record_1
9602
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:09.266855"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:12:09.266855"]]
9603
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9604
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
9605
+  (0.1ms) SAVEPOINT active_record_1
9606
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:09.790772"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:12:09.790772"]]
9607
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9608
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
9609
+  (0.1ms) SAVEPOINT active_record_1
9610
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:10.378188"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:12:10.378188"]]
9611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9612
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
9613
+  (2.6ms) rollback transaction
9614
+  (0.1ms) begin transaction
9615
+ Processing by PlaidRails::AccountsController#index as HTML
9616
+ Parameters: {"account"=>{"owner_id"=>"1"}}
9617
+ Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
9618
+  (0.1ms) SAVEPOINT active_record_1
9619
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:10.399501"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:12:10.399501"]]
9620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9621
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
9622
+  (0.4ms) rollback transaction
9623
+  (0.1ms) begin transaction
9624
+ Processing by PlaidRails::AccountsController#new as HTML
9625
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
9626
+ Completed 200 OK in 251ms (Views: 4.4ms | ActiveRecord: 0.0ms)
9627
+  (0.1ms) rollback transaction
9628
+  (0.0ms) begin transaction
9629
+ Processing by PlaidRails::AccountsController#create as HTML
9630
+ 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"}}
9631
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
9632
+  (0.1ms) SAVEPOINT active_record_1
9633
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:11.528808"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:12:11.528808"]]
9634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9635
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
9636
+  (0.1ms) SAVEPOINT active_record_1
9637
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:12.040935"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:12:12.040935"]]
9638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9639
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
9640
+  (0.1ms) SAVEPOINT active_record_1
9641
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:12.546927"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:12:12.546927"]]
9642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9643
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
9644
+  (0.1ms) SAVEPOINT active_record_1
9645
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:13.083557"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 14:12:13.083557"]]
9646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9647
+ Completed 200 OK in 2201ms (Views: 3.9ms | ActiveRecord: 2.7ms)
9648
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
9649
+ 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
9650
+  (2.5ms) rollback transaction
9651
+  (0.1ms) begin transaction
9652
+  (0.1ms) SAVEPOINT active_record_1
9653
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 14:12:13.096285"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 14:12:13.096285"]]
9654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9655
+ Processing by PlaidRails::AccountsController#destroy as HTML
9656
+ Parameters: {"id"=>"1"}
9657
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
9658
+  (0.0ms) SAVEPOINT active_record_1
9659
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9660
+ SQL (0.5ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
9661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9662
+ Completed 200 OK in 272ms (Views: 3.8ms | ActiveRecord: 0.9ms)
9663
+  (0.8ms) rollback transaction
9664
+  (0.1ms) begin transaction
9665
+  (0.1ms) SAVEPOINT active_record_1
9666
+ SQL (0.6ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-02-24 14:12:13.382781"], ["message", "hello"], ["updated_at", "2017-02-24 14:12:13.382781"]]
9667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9668
+  (0.3ms) rollback transaction
9669
+  (0.0ms) begin transaction
9670
+  (0.1ms) rollback transaction
9671
+  (0.0ms) begin transaction
9672
+  (0.2ms) rollback transaction
9673
+  (0.1ms) begin transaction
9674
+  (0.1ms) rollback transaction
9675
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
9676
+  (0.1ms) begin transaction
9677
+ PlaidRails::Account Exists (1.0ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
9678
+  (0.2ms) SAVEPOINT active_record_1
9679
+ SQL (1.7ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:44.418435"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 16:18:44.418435"]]
9680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9681
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
9682
+  (0.1ms) SAVEPOINT active_record_1
9683
+ SQL (0.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", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:45.030782"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 16:18:45.030782"]]
9684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9685
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
9686
+  (0.1ms) SAVEPOINT active_record_1
9687
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:45.609894"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 16:18:45.609894"]]
9688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9689
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
9690
+  (0.1ms) SAVEPOINT active_record_1
9691
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:46.181202"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 16:18:46.181202"]]
9692
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9693
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
9694
+  (0.7ms) rollback transaction
9695
+  (0.1ms) begin transaction
9696
+  (0.1ms) rollback transaction
9697
+  (0.1ms) begin transaction
9698
+  (0.1ms) rollback transaction
9699
+  (0.3ms) begin transaction
9700
+  (0.1ms) rollback transaction
9701
+  (0.1ms) begin transaction
9702
+  (0.1ms) SAVEPOINT active_record_1
9703
+ SQL (1.5ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-02-24 16:18:46.297991"], ["message", "hello"], ["updated_at", "2017-02-24 16:18:46.297991"]]
9704
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9705
+  (0.5ms) rollback transaction
9706
+  (0.1ms) begin transaction
9707
+ Processing by PlaidRails::WebhooksController#create as HTML
9708
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
9709
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
9710
+  (0.1ms) rollback transaction
9711
+  (0.1ms) begin transaction
9712
+ Processing by PlaidRails::LinkController#update as HTML
9713
+ 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.
9714
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
9715
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
9716
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
9717
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
9718
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
9719
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
9720
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9721
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
9722
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
9723
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9724
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
9725
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
9726
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
9727
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
9728
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
9729
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9730
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
9731
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9732
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9733
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9734
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
9735
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
9736
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
9737
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
9738
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
9739
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
9740
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
9741
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
9742
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
9743
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
9744
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
9745
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:34:in `block (2 levels) in <module:PlaidRails>'
9746
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9747
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9748
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
9749
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
9750
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
9751
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9752
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9753
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9754
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9755
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
9756
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
9757
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
9758
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9759
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9760
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9761
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9762
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
9763
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
9764
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
9765
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
9766
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
9767
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
9768
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
9769
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
9770
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
9771
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
9772
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
9773
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
9774
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
9775
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
9776
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
9777
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
9778
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
9779
+ Completed 500 Internal Server Error in 354ms (Views: 8.5ms | ActiveRecord: 0.0ms)
9780
+  (0.1ms) rollback transaction
9781
+  (0.1ms) begin transaction
9782
+  (0.1ms) SAVEPOINT active_record_1
9783
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:46.678843"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 16:18:46.678843"]]
9784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9785
+ Processing by PlaidRails::LinkController#update as JS
9786
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
9787
+ 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
9788
+  (0.0ms) SAVEPOINT active_record_1
9789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9790
+ Completed 200 OK in 320ms (Views: 61.4ms | ActiveRecord: 0.3ms)
9791
+  (0.5ms) rollback transaction
9792
+  (0.1ms) begin transaction
9793
+ Processing by PlaidRails::LinkController#authenticate as JS
9794
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
9795
+ 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.
9796
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
9797
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
9798
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
9799
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
9800
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
9801
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
9802
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9803
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
9804
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
9805
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9806
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
9807
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
9808
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
9809
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
9810
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
9811
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9812
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
9813
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9814
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9815
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9816
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
9817
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
9818
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
9819
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
9820
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
9821
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
9822
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
9823
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9824
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9825
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
9826
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
9827
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
9828
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9829
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9830
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9831
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9832
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
9833
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
9834
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
9835
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9836
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9837
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9838
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9839
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
9840
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
9841
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
9842
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
9843
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
9844
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
9845
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
9846
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
9847
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
9848
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
9849
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
9850
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
9851
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
9852
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
9853
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
9854
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
9855
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
9856
+ Completed 500 Internal Server Error in 260ms (Views: 0.4ms | ActiveRecord: 0.0ms)
9857
+  (0.1ms) rollback transaction
9858
+  (0.0ms) begin transaction
9859
+ Processing by PlaidRails::LinkController#authenticate as HTML
9860
+ 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.
9861
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
9862
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
9863
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
9864
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
9865
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
9866
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
9867
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
9868
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
9869
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
9870
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
9871
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
9872
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
9873
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
9874
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
9875
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
9876
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
9877
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
9878
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
9879
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
9880
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
9881
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
9882
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
9883
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
9884
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
9885
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
9886
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
9887
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
9888
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/2.2.0/forwardable.rb:183:in `with_doubles_activated'
9889
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
9890
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
9891
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
9892
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:31:in `block (2 levels) in <module:PlaidRails>'
9893
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9894
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9895
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
9896
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
9897
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
9898
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9899
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9900
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9901
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9902
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
9903
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
9904
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
9905
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
9906
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
9907
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
9908
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
9909
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `call'
9910
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
9911
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
9912
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
9913
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
9914
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
9915
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
9916
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
9917
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
9918
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
9919
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
9920
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
9921
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
9922
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
9923
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
9924
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
9925
+ /Users/cwilhelm/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
9926
+ Completed 500 Internal Server Error in 265ms (Views: 0.4ms | ActiveRecord: 0.0ms)
9927
+  (0.1ms) rollback transaction
9928
+  (0.1ms) begin transaction
9929
+ Processing by PlaidRails::LinkController#authenticate as JS
9930
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
9931
+ Completed 200 OK in 296ms (Views: 34.5ms | ActiveRecord: 0.0ms)
9932
+  (0.1ms) rollback transaction
9933
+  (0.1ms) begin transaction
9934
+  (0.0ms) rollback transaction
9935
+  (0.0ms) begin transaction
9936
+  (0.1ms) rollback transaction
9937
+  (0.1ms) begin transaction
9938
+  (0.1ms) rollback transaction
9939
+  (0.1ms) begin transaction
9940
+  (0.1ms) rollback transaction
9941
+  (0.1ms) begin transaction
9942
+  (0.1ms) SAVEPOINT active_record_1
9943
+ SQL (0.8ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:47.880668"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 16:18:47.880668"]]
9944
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9945
+  (0.0ms) SAVEPOINT active_record_1
9946
+ SQL (0.5ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
9947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9948
+  (0.7ms) rollback transaction
9949
+  (0.1ms) begin transaction
9950
+  (0.1ms) rollback transaction
9951
+  (0.1ms) begin transaction
9952
+  (0.1ms) SAVEPOINT active_record_1
9953
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:47.895233"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 16:18:47.895233"]]
9954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9955
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9956
+  (0.5ms) rollback transaction
9957
+  (0.1ms) begin transaction
9958
+  (0.1ms) SAVEPOINT active_record_1
9959
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:47.902758"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 16:18:47.902758"]]
9960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9961
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9962
+  (0.4ms) rollback transaction
9963
+  (0.0ms) begin transaction
9964
+  (0.8ms) SAVEPOINT active_record_1
9965
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:47.908730"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 16:18:47.908730"]]
9966
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9967
+  (0.0ms) SAVEPOINT active_record_1
9968
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:47.911468"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 16:18:47.911468"]]
9969
+  (1.5ms) RELEASE SAVEPOINT active_record_1
9970
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9971
+  (7.1ms) rollback transaction
9972
+  (0.1ms) begin transaction
9973
+ Processing by PlaidRails::AccountsController#index as HTML
9974
+ Parameters: {"account"=>{"owner_id"=>"1"}}
9975
+ Completed 200 OK in 17ms (Views: 16.6ms | ActiveRecord: 0.0ms)
9976
+  (0.1ms) SAVEPOINT active_record_1
9977
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:47.954517"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 16:18:47.954517"]]
9978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9979
+ PlaidRails::Account Load (0.3ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
9980
+  (0.4ms) rollback transaction
9981
+  (0.1ms) begin transaction
9982
+  (0.1ms) SAVEPOINT active_record_1
9983
+ SQL (2.7ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:47.961065"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-02-24 16:18:47.961065"]]
9984
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9985
+ Processing by PlaidRails::AccountsController#destroy as HTML
9986
+ Parameters: {"id"=>"1"}
9987
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
9988
+  (0.0ms) SAVEPOINT active_record_1
9989
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
9990
+ SQL (1.2ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
9991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9992
+ Completed 200 OK in 251ms (Views: 4.1ms | ActiveRecord: 1.5ms)
9993
+  (0.6ms) rollback transaction
9994
+  (0.1ms) begin transaction
9995
+ Processing by PlaidRails::AccountsController#new as HTML
9996
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
9997
+ Completed 200 OK in 271ms (Views: 4.1ms | ActiveRecord: 0.0ms)
9998
+  (0.1ms) rollback transaction
9999
+  (4.7ms) begin transaction
10000
+ Processing by PlaidRails::AccountsController#create as HTML
10001
+ 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"}}
10002
+ PlaidRails::Account Exists (0.5ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
10003
+  (0.1ms) SAVEPOINT active_record_1
10004
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:49.267878"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 16:18:49.267878"]]
10005
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10006
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
10007
+  (0.1ms) SAVEPOINT active_record_1
10008
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:50.115332"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 16:18:50.115332"]]
10009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10010
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
10011
+  (0.1ms) SAVEPOINT active_record_1
10012
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:50.621549"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 16:18:50.621549"]]
10013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10014
+ PlaidRails::Account Exists (0.1ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
10015
+  (0.1ms) SAVEPOINT active_record_1
10016
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-02-24 16:18:51.200606"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-02-24 16:18:51.200606"]]
10017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10018
+ Completed 200 OK in 2457ms (Views: 13.0ms | ActiveRecord: 2.9ms)
10019
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
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
+  (1.4ms) rollback transaction