plaid_rails 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,7 @@ function getPlaid(plaidData) {
19
19
  key: plaidData.data('key'),
20
20
  product: 'connect',
21
21
  webhook: plaidData.data('webhook'),
22
+ longtail: plaidData.data('longtail'),
22
23
  onLoad: function () {
23
24
  // The Link module finished loading.
24
25
  },
@@ -9,9 +9,9 @@ module PlaidRails
9
9
 
10
10
  # display list of accounts for authenticated user
11
11
  def new
12
- @user = Plaid.set_user(account_params[:access_token], ['auth'])
12
+ @user = Plaid.set_user(account_params[:access_token], ['connect'])
13
13
  # Retrieve the user's accounts
14
- @user.get('auth')
14
+ #@user.get('auth')
15
15
  @accounts = @user.accounts
16
16
  end
17
17
 
@@ -5,7 +5,7 @@ Plaid.config do |p|
5
5
  end
6
6
  PlaidRails.configure do |config|
7
7
  config.public_key = Rails.application.secrets[:plaid][:public_key]
8
- config.long_tail = true
8
+ config.longtail = true
9
9
  config.env = Rails.env.production? ? "production" : "tartan"
10
10
  config.webhook = 'https://my.app.com/plaid/webhooks'
11
11
 
@@ -1,3 +1,3 @@
1
1
  module PlaidRails
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
data/lib/plaid_rails.rb CHANGED
@@ -10,7 +10,7 @@ module PlaidRails
10
10
  :environment_location,
11
11
  :public_key,
12
12
  :webhook,
13
- :long_tail,
13
+ :longtail,
14
14
  :env
15
15
 
16
16
 
@@ -765,3 +765,624 @@ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
765
765
   (0.0ms) RELEASE SAVEPOINT active_record_1
766
766
  PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
767
767
   (0.8ms) rollback transaction
768
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
769
+  (0.1ms) begin transaction
770
+ Processing by PlaidRails::LinkController#authenticate as JS
771
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
772
+ Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/link/authenticate.js.erb (0.3ms)
773
+ Completed 200 OK in 1774ms (Views: 21.3ms | ActiveRecord: 0.0ms)
774
+  (0.1ms) rollback transaction
775
+  (0.1ms) begin transaction
776
+ Processing by PlaidRails::LinkController#authenticate as HTML
777
+ Error: unauthorized product
778
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
779
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
780
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
781
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
782
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
783
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
784
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
785
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
786
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
787
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
788
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
789
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
790
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
791
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
792
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
793
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
794
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
795
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
796
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
797
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
798
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
799
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
800
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
801
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
802
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
803
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
804
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
805
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
806
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
807
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:32:in `block (2 levels) in <module:PlaidRails>'
808
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
809
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
810
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
811
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
812
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
813
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
814
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
815
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
816
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
817
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
818
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
819
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
820
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
821
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
822
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
823
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
824
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
825
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
826
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
827
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
828
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
829
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
830
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
831
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
832
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
833
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
834
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
835
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
836
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
837
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
838
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
839
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
840
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
841
+ Completed 500 Internal Server Error in 341ms (Views: 5.3ms | ActiveRecord: 0.0ms)
842
+  (0.1ms) rollback transaction
843
+  (0.1ms) begin transaction
844
+ Processing by PlaidRails::LinkController#authenticate as JS
845
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
846
+ Error: unauthorized product
847
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
848
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
849
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
850
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
851
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
852
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
853
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
854
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
855
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
856
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
857
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
858
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
859
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
860
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
861
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
862
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
863
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
864
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
865
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
866
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
867
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
868
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
869
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
870
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
871
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
872
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
873
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
874
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
875
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
876
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
877
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
878
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
879
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
880
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
881
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
882
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
883
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
884
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
885
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
886
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
887
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
888
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
889
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
890
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
891
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
892
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
893
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
894
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
895
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
896
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
897
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
898
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
899
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
900
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
901
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
902
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
903
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
904
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
905
+ Completed 500 Internal Server Error in 329ms (Views: 0.6ms | ActiveRecord: 0.0ms)
906
+  (0.1ms) rollback transaction
907
+  (0.1ms) begin transaction
908
+  (0.1ms) SAVEPOINT active_record_1
909
+ SQL (2.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", "2016-03-16 14:27:12.331291"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-16 14:27:12.331291"]]
910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
911
+ Processing by PlaidRails::LinkController#update as JS
912
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
913
+ 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
914
+  (0.0ms) SAVEPOINT active_record_1
915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
916
+ Completed 200 OK in 407ms (Views: 7.4ms | ActiveRecord: 0.3ms)
917
+  (0.5ms) rollback transaction
918
+  (0.1ms) begin transaction
919
+ Processing by PlaidRails::LinkController#update as HTML
920
+ Error: unauthorized product
921
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
922
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
923
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
924
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
925
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
926
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
927
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
928
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
929
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
930
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
931
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
932
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
933
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
934
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
935
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
936
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
937
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
938
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
939
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
940
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
941
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
942
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
943
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
944
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
945
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
946
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
947
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
948
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
949
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
950
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:35:in `block (2 levels) in <module:PlaidRails>'
951
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
952
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
953
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
954
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
955
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
956
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
957
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
958
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
959
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
960
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
961
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
962
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
963
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
964
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
965
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
966
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
967
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
968
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
969
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
970
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
971
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
972
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
973
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
974
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
975
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
976
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
977
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
978
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
979
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
980
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
981
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
982
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
983
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
984
+ Completed 500 Internal Server Error in 332ms (Views: 0.5ms | ActiveRecord: 0.0ms)
985
+  (0.1ms) rollback transaction
986
+  (0.1ms) begin transaction
987
+  (0.1ms) SAVEPOINT active_record_1
988
+ SQL (0.4ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2016-03-16 14:27:13.096359"], ["message", "hello"], ["updated_at", "2016-03-16 14:27:13.096359"]]
989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
990
+  (2.1ms) rollback transaction
991
+  (0.1ms) begin transaction
992
+  (0.1ms) rollback transaction
993
+  (0.1ms) begin transaction
994
+  (0.1ms) rollback transaction
995
+  (0.1ms) begin transaction
996
+  (0.1ms) rollback transaction
997
+  (0.1ms) begin transaction
998
+ Processing by PlaidRails::WebhooksController#create as HTML
999
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
1000
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1001
+  (0.1ms) rollback transaction
1002
+  (0.1ms) begin transaction
1003
+  (0.1ms) rollback transaction
1004
+  (0.1ms) begin transaction
1005
+  (0.1ms) rollback transaction
1006
+  (0.1ms) begin transaction
1007
+  (0.1ms) rollback transaction
1008
+  (0.0ms) begin transaction
1009
+  (0.1ms) rollback transaction
1010
+  (0.1ms) begin transaction
1011
+  (0.1ms) rollback transaction
1012
+  (0.0ms) begin transaction
1013
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
1014
+  (0.1ms) SAVEPOINT active_record_1
1015
+ 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", "Plaid Savings"], ["created_at", "2016-03-16 14:27:13.855810"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 14:27:13.855810"]]
1016
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1017
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
1018
+  (0.1ms) SAVEPOINT active_record_1
1019
+ SQL (1.9ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Plaid Checking"], ["created_at", "2016-03-16 14:27:14.207298"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 14:27:14.207298"]]
1020
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1021
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
1022
+  (0.1ms) SAVEPOINT active_record_1
1023
+ 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", "Plaid Premier Checking"], ["created_at", "2016-03-16 14:27:14.566613"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 14:27:14.566613"]]
1024
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1025
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
1026
+  (0.1ms) SAVEPOINT active_record_1
1027
+ 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", "Plaid Credit Card"], ["created_at", "2016-03-16 14:27:14.903657"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 14:27:14.903657"]]
1028
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1029
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
1030
+  (2.5ms) rollback transaction
1031
+  (0.1ms) begin transaction
1032
+ Processing by PlaidRails::AccountsController#new as HTML
1033
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
1034
+ Completed 200 OK in 697ms (Views: 4.5ms | ActiveRecord: 0.0ms)
1035
+  (0.1ms) rollback transaction
1036
+  (0.1ms) begin transaction
1037
+ Processing by PlaidRails::AccountsController#create as HTML
1038
+ 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"}}
1039
+ PlaidRails::Account Exists (0.3ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
1040
+  (0.1ms) SAVEPOINT active_record_1
1041
+ 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", "Plaid Savings"], ["created_at", "2016-03-16 14:27:16.297027"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 14:27:16.297027"]]
1042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1043
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
1044
+  (0.1ms) SAVEPOINT active_record_1
1045
+ 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", "Plaid Checking"], ["created_at", "2016-03-16 14:27:16.646112"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 14:27:16.646112"]]
1046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1047
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
1048
+  (0.1ms) SAVEPOINT active_record_1
1049
+ 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", "Plaid Premier Checking"], ["created_at", "2016-03-16 14:27:17.000134"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 14:27:17.000134"]]
1050
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1051
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
1052
+  (0.1ms) SAVEPOINT active_record_1
1053
+ 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", "Plaid Credit Card"], ["created_at", "2016-03-16 14:27:17.342602"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 14:27:17.342602"]]
1054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1055
+ Completed 200 OK in 1388ms (Views: 2.3ms | ActiveRecord: 2.5ms)
1056
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
1057
+  (2.5ms) rollback transaction
1058
+  (0.1ms) begin transaction
1059
+ Processing by PlaidRails::AccountsController#index as HTML
1060
+ Parameters: {"account"=>{"owner_id"=>"1"}}
1061
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
1062
+  (0.1ms) SAVEPOINT active_record_1
1063
+ 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", "2016-03-16 14:27:17.357762"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-16 14:27:17.357762"]]
1064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1065
+ PlaidRails::Account Load (0.3ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
1066
+  (0.5ms) rollback transaction
1067
+  (0.1ms) begin transaction
1068
+  (0.1ms) SAVEPOINT active_record_1
1069
+ 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", "2016-03-16 14:27:17.363059"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-16 14:27:17.363059"]]
1070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1071
+ Processing by PlaidRails::AccountsController#destroy as HTML
1072
+ Parameters: {"id"=>"1"}
1073
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
1074
+  (0.0ms) SAVEPOINT active_record_1
1075
+ SQL (0.4ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
1076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1077
+ Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.7ms)
1078
+  (0.7ms) rollback transaction
1079
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1080
+  (0.1ms) begin transaction
1081
+ Processing by PlaidRails::WebhooksController#create as HTML
1082
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
1083
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1084
+  (0.1ms) rollback transaction
1085
+  (0.1ms) begin transaction
1086
+  (0.1ms) SAVEPOINT active_record_1
1087
+ SQL (6.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", "2016-03-16 15:23:07.119608"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-16 15:23:07.119608"]]
1088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1089
+ Processing by PlaidRails::AccountsController#destroy as HTML
1090
+ Parameters: {"id"=>"1"}
1091
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
1092
+  (0.0ms) SAVEPOINT active_record_1
1093
+ SQL (1.3ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
1094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1095
+ Completed 200 OK in 21ms (Views: 16.6ms | ActiveRecord: 1.6ms)
1096
+  (0.8ms) rollback transaction
1097
+  (0.1ms) begin transaction
1098
+ Processing by PlaidRails::AccountsController#create as HTML
1099
+ 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"}}
1100
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
1101
+  (0.1ms) SAVEPOINT active_record_1
1102
+ 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", "Plaid Savings"], ["created_at", "2016-03-16 15:23:09.453721"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 15:23:09.453721"]]
1103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1104
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
1105
+  (0.1ms) SAVEPOINT active_record_1
1106
+ 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", "Plaid Checking"], ["created_at", "2016-03-16 15:23:09.810157"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 15:23:09.810157"]]
1107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1108
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
1109
+  (0.1ms) SAVEPOINT active_record_1
1110
+ 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", "Plaid Premier Checking"], ["created_at", "2016-03-16 15:23:10.182919"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 15:23:10.182919"]]
1111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1112
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
1113
+  (0.1ms) SAVEPOINT active_record_1
1114
+ 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", "Plaid Credit Card"], ["created_at", "2016-03-16 15:23:10.546818"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 15:23:10.546818"]]
1115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1116
+ Completed 200 OK in 1530ms (Views: 2.7ms | ActiveRecord: 2.4ms)
1117
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
1118
+  (0.8ms) rollback transaction
1119
+  (0.1ms) begin transaction
1120
+ Processing by PlaidRails::AccountsController#new as HTML
1121
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
1122
+ Completed 200 OK in 357ms (Views: 2.8ms | ActiveRecord: 0.0ms)
1123
+  (0.1ms) rollback transaction
1124
+  (0.1ms) begin transaction
1125
+ Processing by PlaidRails::AccountsController#index as HTML
1126
+ Parameters: {"account"=>{"owner_id"=>"1"}}
1127
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
1128
+  (0.1ms) SAVEPOINT active_record_1
1129
+ 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", "2016-03-16 15:23:10.923241"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-16 15:23:10.923241"]]
1130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1131
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
1132
+  (0.5ms) rollback transaction
1133
+  (0.1ms) begin transaction
1134
+  (0.1ms) rollback transaction
1135
+  (0.1ms) begin transaction
1136
+  (0.1ms) rollback transaction
1137
+  (0.1ms) begin transaction
1138
+  (0.0ms) rollback transaction
1139
+  (0.0ms) begin transaction
1140
+  (0.1ms) rollback transaction
1141
+  (0.1ms) begin transaction
1142
+  (0.1ms) rollback transaction
1143
+  (0.1ms) begin transaction
1144
+  (0.1ms) rollback transaction
1145
+  (0.1ms) begin transaction
1146
+  (0.1ms) rollback transaction
1147
+  (0.1ms) begin transaction
1148
+  (0.1ms) rollback transaction
1149
+  (0.1ms) begin transaction
1150
+  (0.1ms) SAVEPOINT active_record_1
1151
+ SQL (0.7ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2016-03-16 15:23:10.986465"], ["message", "hello"], ["updated_at", "2016-03-16 15:23:10.986465"]]
1152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1153
+  (0.3ms) rollback transaction
1154
+  (0.1ms) begin transaction
1155
+ Processing by PlaidRails::LinkController#authenticate as JS
1156
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
1157
+ Error: unauthorized product
1158
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1159
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1160
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1161
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
1162
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1163
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
1164
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
1165
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1166
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
1167
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
1168
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
1169
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1170
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
1171
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1172
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
1173
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1174
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1175
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1176
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
1177
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
1178
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
1179
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
1180
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
1181
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
1182
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
1183
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1184
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1185
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
1186
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
1187
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
1188
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1189
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1190
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1191
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1192
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
1193
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
1194
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
1195
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1196
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1197
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1198
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1199
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
1200
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
1201
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
1202
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
1203
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
1204
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
1205
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
1206
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
1207
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
1208
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
1209
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
1210
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
1211
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
1212
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
1213
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
1214
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
1215
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
1216
+ Completed 500 Internal Server Error in 367ms (Views: 4.1ms | ActiveRecord: 0.0ms)
1217
+  (0.1ms) rollback transaction
1218
+  (0.1ms) begin transaction
1219
+ Processing by PlaidRails::LinkController#authenticate as JS
1220
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
1221
+ Completed 200 OK in 366ms (Views: 13.2ms | ActiveRecord: 0.0ms)
1222
+  (0.1ms) rollback transaction
1223
+  (0.1ms) begin transaction
1224
+ Processing by PlaidRails::LinkController#update as HTML
1225
+ Error: unauthorized product
1226
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1227
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1228
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1229
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
1230
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1231
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
1232
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
1233
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1234
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
1235
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
1236
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
1237
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1238
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
1239
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1240
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
1241
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1242
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1243
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1244
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
1245
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
1246
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
1247
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
1248
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
1249
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
1250
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
1251
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
1252
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
1253
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
1254
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
1255
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:35:in `block (2 levels) in <module:PlaidRails>'
1256
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1257
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1258
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
1259
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
1260
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
1261
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1262
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1263
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1264
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1265
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
1266
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
1267
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
1268
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1269
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1270
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1271
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1272
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
1273
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
1274
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
1275
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
1276
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
1277
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
1278
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
1279
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
1280
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
1281
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
1282
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
1283
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
1284
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
1285
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
1286
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
1287
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
1288
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
1289
+ Completed 500 Internal Server Error in 350ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1290
+  (0.1ms) rollback transaction
1291
+  (0.1ms) begin transaction
1292
+ Processing by PlaidRails::LinkController#authenticate as HTML
1293
+ Error: unauthorized product
1294
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1295
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1296
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1297
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
1298
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1299
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
1300
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
1301
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1302
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
1303
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
1304
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
1305
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1306
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
1307
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1308
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
1309
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1310
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1311
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1312
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
1313
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
1314
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
1315
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
1316
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
1317
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
1318
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
1319
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
1320
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
1321
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
1322
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
1323
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:32:in `block (2 levels) in <module:PlaidRails>'
1324
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1325
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1326
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
1327
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
1328
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
1329
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1330
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1331
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1332
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1333
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
1334
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
1335
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
1336
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1337
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1338
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1339
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1340
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
1341
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
1342
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
1343
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
1344
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
1345
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
1346
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
1347
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
1348
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
1349
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
1350
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
1351
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
1352
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
1353
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
1354
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
1355
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
1356
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
1357
+ Completed 500 Internal Server Error in 335ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1358
+  (0.1ms) rollback transaction
1359
+  (0.1ms) begin transaction
1360
+  (0.1ms) SAVEPOINT active_record_1
1361
+ 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", "2016-03-16 15:23:12.427521"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-16 15:23:12.427521"]]
1362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1363
+ Processing by PlaidRails::LinkController#update as JS
1364
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
1365
+ 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
1366
+  (0.1ms) SAVEPOINT active_record_1
1367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1368
+ Completed 200 OK in 355ms (Views: 8.1ms | ActiveRecord: 0.3ms)
1369
+  (0.6ms) rollback transaction
1370
+  (0.1ms) begin transaction
1371
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
1372
+  (0.1ms) SAVEPOINT active_record_1
1373
+ 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", "Plaid Savings"], ["created_at", "2016-03-16 15:23:13.773408"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 15:23:13.773408"]]
1374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1375
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
1376
+  (0.1ms) SAVEPOINT active_record_1
1377
+ 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", "Plaid Checking"], ["created_at", "2016-03-16 15:23:14.134003"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 15:23:14.134003"]]
1378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1379
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
1380
+  (0.1ms) SAVEPOINT active_record_1
1381
+ 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", "Plaid Premier Checking"], ["created_at", "2016-03-16 15:23:14.486874"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 15:23:14.486874"]]
1382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1383
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
1384
+  (0.1ms) SAVEPOINT active_record_1
1385
+ 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", "Plaid Credit Card"], ["created_at", "2016-03-16 15:23:14.843124"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-16 15:23:14.843124"]]
1386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1387
+  (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
1388
+  (2.6ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaid_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: