openstax_salesforce 3.0.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -46
  3. data/Rakefile +2 -5
  4. data/config/initializers/openstax_salesforce.rb +11 -36
  5. data/db/migrate/0_install_openstax_salesforce.rb +1 -0
  6. data/db/migrate/1_drop_openstax_salesforce_users.rb +14 -0
  7. data/lib/openstax/salesforce/active_force.rb +0 -4
  8. data/lib/openstax/salesforce/client.rb +11 -17
  9. data/lib/openstax/salesforce/engine.rb +5 -3
  10. data/lib/openstax/salesforce/remote/campaign.rb +0 -2
  11. data/lib/openstax/salesforce/remote/campaign_member.rb +0 -1
  12. data/lib/openstax/salesforce/remote/contact.rb +1 -0
  13. data/lib/openstax/salesforce/remote/opportunity.rb +0 -2
  14. data/lib/openstax/salesforce/remote/school.rb +5 -1
  15. data/lib/openstax/salesforce/remote/term_year.rb +0 -2
  16. data/lib/openstax/salesforce/remote/tutor_course_period.rb +0 -2
  17. data/lib/openstax/salesforce/spec_helpers.rb +142 -26
  18. data/lib/openstax/salesforce/version.rb +1 -1
  19. data/lib/openstax_salesforce.rb +13 -29
  20. data/lib/tasks/openstax_salesforce_tasks.rake +1 -26
  21. metadata +16 -179
  22. data/app/controllers/openstax/salesforce/application_controller.rb +0 -7
  23. data/app/controllers/openstax/salesforce/settings_controller.rb +0 -20
  24. data/app/helpers/openstax/salesforce/application_helper.rb +0 -11
  25. data/app/models/openstax/salesforce/user.rb +0 -31
  26. data/app/views/openstax/salesforce/settings/show.html.erb +0 -33
  27. data/config/initializers/omniauth.rb +0 -8
  28. data/config/routes.rb +0 -11
  29. data/lib/openstax/salesforce/spec_helpers/salesforce_proxy.rb +0 -121
  30. data/lib/openstax/salesforce/user_missing.rb +0 -3
  31. data/spec/client_spec.rb +0 -10
  32. data/spec/dummy/README.md +0 -28
  33. data/spec/dummy/Rakefile +0 -6
  34. data/spec/dummy/app/assets/javascripts/application.js +0 -13
  35. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  36. data/spec/dummy/app/controllers/application_controller.rb +0 -5
  37. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  38. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  39. data/spec/dummy/bin/bundle +0 -3
  40. data/spec/dummy/bin/rails +0 -4
  41. data/spec/dummy/bin/rake +0 -4
  42. data/spec/dummy/bin/setup +0 -29
  43. data/spec/dummy/config.ru +0 -4
  44. data/spec/dummy/config/application.rb +0 -25
  45. data/spec/dummy/config/boot.rb +0 -5
  46. data/spec/dummy/config/database.yml +0 -25
  47. data/spec/dummy/config/environment.rb +0 -5
  48. data/spec/dummy/config/environments/development.rb +0 -41
  49. data/spec/dummy/config/environments/production.rb +0 -79
  50. data/spec/dummy/config/environments/test.rb +0 -42
  51. data/spec/dummy/config/initializers/assets.rb +0 -11
  52. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  53. data/spec/dummy/config/initializers/cookies_serializer.rb +0 -3
  54. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  55. data/spec/dummy/config/initializers/inflections.rb +0 -16
  56. data/spec/dummy/config/initializers/mime_types.rb +0 -4
  57. data/spec/dummy/config/initializers/session_store.rb +0 -3
  58. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  59. data/spec/dummy/config/locales/en.yml +0 -23
  60. data/spec/dummy/config/routes.rb +0 -4
  61. data/spec/dummy/config/secrets.yml +0 -22
  62. data/spec/dummy/db/development.sqlite3 +0 -0
  63. data/spec/dummy/db/schema.rb +0 -25
  64. data/spec/dummy/db/test.sqlite3 +0 -0
  65. data/spec/dummy/log/development.log +0 -15
  66. data/spec/dummy/log/test.log +0 -1915
  67. data/spec/dummy/public/404.html +0 -67
  68. data/spec/dummy/public/422.html +0 -67
  69. data/spec/dummy/public/500.html +0 -66
  70. data/spec/dummy/public/favicon.ico +0 -0
  71. data/spec/factories/user.rb +0 -17
  72. data/spec/openstax/salesforce/controllers/application_controller_spec.rb +0 -22
  73. data/spec/openstax/salesforce/controllers/settings_controller_spec.rb +0 -80
  74. data/spec/openstax/salesforce/remote/opportunity_spec.rb +0 -11
  75. data/spec/openstax/salesforce/remote/term_year_spec.rb +0 -81
  76. data/spec/openstax/salesforce/remote/tutor_course_period_spec.rb +0 -30
  77. data/spec/openstax/salesforce/spec_helpers_spec.rb +0 -31
  78. data/spec/rails_helper.rb +0 -99
  79. data/spec/routing_spec.rb +0 -9
  80. data/spec/spec_helper.rb +0 -86
@@ -1,79 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # Code is not reloaded between requests.
5
- config.cache_classes = true
6
-
7
- # Eager load code on boot. This eager loads most of Rails and
8
- # your application in memory, allowing both threaded web servers
9
- # and those relying on copy on write to perform better.
10
- # Rake tasks automatically ignore this option for performance.
11
- config.eager_load = true
12
-
13
- # Full error reports are disabled and caching is turned on.
14
- config.consider_all_requests_local = false
15
- config.action_controller.perform_caching = true
16
-
17
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
- # Add `rack-cache` to your Gemfile before enabling this.
19
- # For large-scale production use, consider using a caching reverse proxy like
20
- # NGINX, varnish or squid.
21
- # config.action_dispatch.rack_cache = true
22
-
23
- # Disable serving static files from the `/public` folder by default since
24
- # Apache or NGINX already handles this.
25
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
-
27
- # Compress JavaScripts and CSS.
28
- config.assets.js_compressor = :uglifier
29
- # config.assets.css_compressor = :sass
30
-
31
- # Do not fallback to assets pipeline if a precompiled asset is missed.
32
- config.assets.compile = false
33
-
34
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
- # yet still be able to expire them through the digest params.
36
- config.assets.digest = true
37
-
38
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
-
40
- # Specifies the header that your server uses for sending files.
41
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43
-
44
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
- # config.force_ssl = true
46
-
47
- # Use the lowest log level to ensure availability of diagnostic information
48
- # when problems arise.
49
- config.log_level = :debug
50
-
51
- # Prepend all log lines with the following tags.
52
- # config.log_tags = [ :subdomain, :uuid ]
53
-
54
- # Use a different logger for distributed setups.
55
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
-
57
- # Use a different cache store in production.
58
- # config.cache_store = :mem_cache_store
59
-
60
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
- # config.action_controller.asset_host = 'http://assets.example.com'
62
-
63
- # Ignore bad email addresses and do not raise email delivery errors.
64
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65
- # config.action_mailer.raise_delivery_errors = false
66
-
67
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68
- # the I18n.default_locale when a translation cannot be found).
69
- config.i18n.fallbacks = true
70
-
71
- # Send deprecation notices to registered listeners.
72
- config.active_support.deprecation = :notify
73
-
74
- # Use default logging formatter so that PID and timestamp are not suppressed.
75
- config.log_formatter = ::Logger::Formatter.new
76
-
77
- # Do not dump schema after migrations.
78
- config.active_record.dump_schema_after_migration = false
79
- end
@@ -1,42 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # The test environment is used exclusively to run your application's
5
- # test suite. You never need to work with it otherwise. Remember that
6
- # your test database is "scratch space" for the test suite and is wiped
7
- # and recreated between test runs. Don't rely on the data there!
8
- config.cache_classes = true
9
-
10
- # Do not eager load code on boot. This avoids loading your whole application
11
- # just for the purpose of running a single test. If you are using a tool that
12
- # preloads Rails for running tests, you may have to set it to true.
13
- config.eager_load = false
14
-
15
- # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
18
-
19
- # Show full error reports and disable caching.
20
- config.consider_all_requests_local = true
21
- config.action_controller.perform_caching = false
22
-
23
- # Raise exceptions instead of rendering exception templates.
24
- config.action_dispatch.show_exceptions = false
25
-
26
- # Disable request forgery protection in test environment.
27
- config.action_controller.allow_forgery_protection = false
28
-
29
- # Tell Action Mailer not to deliver emails to the real world.
30
- # The :test delivery method accumulates sent emails in the
31
- # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
33
-
34
- # Randomize the order test cases are executed.
35
- config.active_support.test_order = :random
36
-
37
- # Print deprecation notices to the stderr.
38
- config.active_support.deprecation = :stderr
39
-
40
- # Raises error for missing translations
41
- # config.action_view.raise_on_missing_translations = true
42
- end
@@ -1,11 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
5
-
6
- # Add additional assets to the asset load path
7
- # Rails.application.config.assets.paths << Emoji.images_path
8
-
9
- # Precompile additional assets.
10
- # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
- # Rails.application.config.assets.precompile += %w( search.js )
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Configure sensitive parameters which will be filtered from the log file.
4
- Rails.application.config.filter_parameters += [:password]
@@ -1,16 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format. Inflections
4
- # are locale specific, and you may define rules for as many different
5
- # locales as you wish. All of these examples are active by default:
6
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
10
- # inflect.uncountable %w( fish sheep )
11
- # end
12
-
13
- # These inflection rules are supported but not enabled by default:
14
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
16
- # end
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
- end
10
-
11
- # To enable root element in JSON for ActiveRecord objects.
12
- # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
14
- # end
@@ -1,23 +0,0 @@
1
- # Files in the config/locales directory are used for internationalization
2
- # and are automatically loaded by Rails. If you want to use locales other
3
- # than English, add the necessary files in this directory.
4
- #
5
- # To use the locales, use `I18n.t`:
6
- #
7
- # I18n.t 'hello'
8
- #
9
- # In views, this is aliased to just `t`:
10
- #
11
- # <%= t('hello') %>
12
- #
13
- # To use a different locale, set it with `I18n.locale`:
14
- #
15
- # I18n.locale = :es
16
- #
17
- # This would use the information in config/locales/es.yml.
18
- #
19
- # To learn more, please read the Rails Internationalization guide
20
- # available at http://guides.rubyonrails.org/i18n.html.
21
-
22
- en:
23
- hello: "Hello world"
@@ -1,4 +0,0 @@
1
- Rails.application.routes.draw do
2
- mount OpenStax::Salesforce::Engine => "/admin/salesforce"
3
- OpenStax::Salesforce.set_top_level_routes(self)
4
- end
@@ -1,22 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key is used for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
-
6
- # Make sure the secret is at least 30 characters and all random,
7
- # no regular words or you'll be exposed to dictionary attacks.
8
- # You can use `rake secret` to generate a secure secret key.
9
-
10
- # Make sure the secrets in this file are kept private
11
- # if you're sharing your code publicly.
12
-
13
- development:
14
- secret_key_base: 73be42e80b5d62928b228cfbf2065cc65729cad50d9afe4b3954673993f0e7ec4a98339651652f2faf20a1992b6fc33cdd70d6254db57851d75060ce40f88176
15
-
16
- test:
17
- secret_key_base: c786f8c3c965d5ccc5a5d2c4079d1979e45599e6dd435076beb22bafdcb2395cbfde10d296a7087d246e311eed7f38e399b51b77a1ce438496ae8a8ba55e252a
18
-
19
- # Do not keep production secrets in the repository,
20
- # instead read values from the environment.
21
- production:
22
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -1,25 +0,0 @@
1
- # This file is auto-generated from the current state of the database. Instead
2
- # of editing this file, please use the migrations feature of Active Record to
3
- # incrementally modify your database, and then regenerate this schema definition.
4
- #
5
- # Note that this schema.rb definition is the authoritative source for your
6
- # database schema. If you need to create the application database on another
7
- # system, you should be using db:schema:load, not running all the migrations
8
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
- # you'll amass, the slower it'll run and the greater likelihood for issues).
10
- #
11
- # It's strongly recommended that you check this file into your version control system.
12
-
13
- ActiveRecord::Schema.define(version: 0) do
14
-
15
- create_table "openstax_salesforce_users", force: :cascade do |t|
16
- t.string "name"
17
- t.string "uid", null: false
18
- t.string "oauth_token", null: false
19
- t.string "refresh_token", null: false
20
- t.string "instance_url", null: false
21
- t.datetime "created_at", null: false
22
- t.datetime "updated_at", null: false
23
- end
24
-
25
- end
Binary file
@@ -1,15 +0,0 @@
1
-  (0.0ms) SELECT sqlite_version(*)
2
-  (11.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
-  (16.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5
- Migrating to InstallOpenStaxSalesforce (0)
6
-  (0.0ms) begin transaction
7
-  (0.2ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
- ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "0"]]
9
-  (10.8ms) commit transaction
10
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
11
-  (0.0ms) begin transaction
12
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-05-24 16:34:24.986512"], ["updated_at", "2019-05-24 16:34:24.986512"]]
13
-  (9.7ms) commit transaction
14
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
15
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
@@ -1,1915 +0,0 @@
1
-  (0.0ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
2
-  (0.0ms) SELECT sqlite_version(*)
3
-  (10.8ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)
4
-  (16.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
5
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
6
-  (9.8ms) INSERT INTO "schema_migrations" (version) VALUES (0)
7
-  (10.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
9
-  (0.0ms) begin transaction
10
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-24 15:53:22.389526"], ["updated_at", "2019-05-24 15:53:22.389526"]]
11
-  (12.8ms) commit transaction
12
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
13
-  (0.0ms) begin transaction
14
-  (0.0ms) commit transaction
15
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
16
-  (0.1ms) PRAGMA foreign_keys
17
-  (0.0ms) PRAGMA foreign_keys = OFF
18
-  (9.8ms) DELETE FROM "openstax_salesforce_users";
19
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
20
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
21
-  (10.3ms) DELETE FROM "ar_internal_metadata";
22
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
23
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
24
-  (0.1ms) PRAGMA foreign_keys = 1
25
-  (0.1ms) begin transaction
26
-  (0.1ms) commit transaction
27
-  (0.1ms) begin transaction
28
-  (0.1ms) SAVEPOINT active_record_1
29
-  (0.1ms) RELEASE SAVEPOINT active_record_1
30
-  (0.1ms) SAVEPOINT active_record_1
31
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
32
-  (0.0ms) rollback transaction
33
-  (0.0ms) begin transaction
34
-  (0.0ms) commit transaction
35
-  (0.0ms) begin transaction
36
-  (0.0ms) SAVEPOINT active_record_1
37
-  (0.0ms) RELEASE SAVEPOINT active_record_1
38
-  (0.0ms) SAVEPOINT active_record_1
39
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
40
- Filter chain halted as #<Proc:0x000055f49ae80ed8@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
41
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
42
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
43
-  (0.0ms) SAVEPOINT active_record_1
44
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45
-  (0.0ms) SAVEPOINT active_record_1
46
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
47
- Rendering text template
48
- Rendered text template (0.0ms)
49
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
50
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
51
-  (0.0ms) rollback transaction
52
-  (0.0ms) begin transaction
53
-  (0.0ms) commit transaction
54
-  (0.0ms) begin transaction
55
-  (0.0ms) SAVEPOINT active_record_1
56
-  (0.0ms) RELEASE SAVEPOINT active_record_1
57
-  (0.0ms) SAVEPOINT active_record_1
58
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
59
-  (0.0ms) SAVEPOINT active_record_1
60
-  (0.0ms) RELEASE SAVEPOINT active_record_1
61
-  (0.0ms) SAVEPOINT active_record_1
62
-  (0.1ms) SAVEPOINT active_record_2
63
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Dwain Stehr"], ["uid", "29cc6611e24d29333f9f"], ["oauth_token", "de85028c05ce273918ef993e06d5429e"], ["refresh_token", "cd9aca071dd7c847ee3717615baf3a98"], ["instance_url", "http://brakus.biz/chad"], ["created_at", "2019-05-24 15:53:23.723662"], ["updated_at", "2019-05-24 15:53:23.723662"]]
64
-  (0.0ms) RELEASE SAVEPOINT active_record_2
65
-  (0.0ms) SAVEPOINT active_record_2
66
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Dr. Shena Rogahn"], ["uid", "60bd0ed1320a57121591"], ["oauth_token", "53855b6021dde7df3253a37e18c3123e"], ["refresh_token", "3c0e38600b6b1c6c832a96548c796f29"], ["instance_url", "http://yundt.io/angel_larson"], ["created_at", "2019-05-24 15:53:23.724668"], ["updated_at", "2019-05-24 15:53:23.724668"]]
67
-  (0.0ms) RELEASE SAVEPOINT active_record_2
68
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
69
-  (0.0ms) SAVEPOINT active_record_1
70
-  (0.0ms) RELEASE SAVEPOINT active_record_1
71
-  (0.0ms) SAVEPOINT active_record_1
72
-  (0.0ms) SAVEPOINT active_record_2
73
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Hans Barton"], ["uid", "someuid"], ["oauth_token", "83c050aac11d4d8642b245b3e69d8329"], ["refresh_token", "83fc524acadc8a3739d7b64339c2d64b"], ["instance_url", "http://ebertmcglynn.io/lon.langosh"], ["created_at", "2019-05-24 15:53:23.726230"], ["updated_at", "2019-05-24 15:53:23.726230"]]
74
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
75
-  (0.0ms) RELEASE SAVEPOINT active_record_2
76
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
77
-  (0.0ms) SAVEPOINT active_record_1
78
-  (0.0ms) RELEASE SAVEPOINT active_record_1
79
-  (0.0ms) SAVEPOINT active_record_1
80
-  (0.0ms) SAVEPOINT active_record_2
81
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Donte Swift"], ["uid", "7b249f603a4ffd55e512"], ["oauth_token", "2c2d7ec3f3b48ef048329f31a023c89c"], ["refresh_token", "2d0719dd107023af3f10120bd457d8cb"], ["instance_url", "http://watsica.io/nga.schuppe"], ["created_at", "2019-05-24 15:53:23.728357"], ["updated_at", "2019-05-24 15:53:23.728357"]]
82
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
83
-  (0.0ms) RELEASE SAVEPOINT active_record_2
84
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
85
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
86
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
87
-  (0.0ms) SAVEPOINT active_record_2
88
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
89
-  (0.0ms) RELEASE SAVEPOINT active_record_2
90
- Redirected to http://test.host/admin/salesforce/
91
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
92
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
93
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
94
-  (0.0ms) SAVEPOINT active_record_1
95
-  (0.0ms) RELEASE SAVEPOINT active_record_1
96
-  (0.0ms) SAVEPOINT active_record_1
97
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
98
- Filter chain halted as #<Proc:0x000055f49ae80ed8@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
99
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
100
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
101
-  (0.1ms) rollback transaction
102
-  (0.0ms) begin transaction
103
-  (0.0ms) commit transaction
104
-  (0.0ms) begin transaction
105
-  (0.0ms) SAVEPOINT active_record_1
106
-  (0.0ms) RELEASE SAVEPOINT active_record_1
107
-  (0.0ms) SAVEPOINT active_record_1
108
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
109
-  (0.0ms) rollback transaction
110
-  (0.0ms) begin transaction
111
-  (0.0ms) commit transaction
112
-  (0.0ms) begin transaction
113
-  (0.0ms) SAVEPOINT active_record_1
114
-  (0.0ms) RELEASE SAVEPOINT active_record_1
115
-  (0.0ms) SAVEPOINT active_record_1
116
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
117
-  (0.0ms) SAVEPOINT active_record_1
118
-  (0.0ms) RELEASE SAVEPOINT active_record_1
119
-  (0.0ms) SAVEPOINT active_record_1
120
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
121
-  (0.0ms) SAVEPOINT active_record_1
122
-  (0.0ms) RELEASE SAVEPOINT active_record_1
123
-  (0.0ms) SAVEPOINT active_record_1
124
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
125
-  (0.0ms) SAVEPOINT active_record_1
126
-  (0.0ms) RELEASE SAVEPOINT active_record_1
127
-  (0.0ms) SAVEPOINT active_record_1
128
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
129
-  (0.0ms) SAVEPOINT active_record_1
130
-  (0.0ms) RELEASE SAVEPOINT active_record_1
131
-  (0.0ms) SAVEPOINT active_record_1
132
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
133
-  (0.0ms) SAVEPOINT active_record_1
134
-  (0.0ms) RELEASE SAVEPOINT active_record_1
135
-  (0.0ms) SAVEPOINT active_record_1
136
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
137
-  (0.0ms) SAVEPOINT active_record_1
138
-  (0.0ms) RELEASE SAVEPOINT active_record_1
139
-  (0.0ms) SAVEPOINT active_record_1
140
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
141
-  (0.0ms) SAVEPOINT active_record_1
142
-  (0.0ms) RELEASE SAVEPOINT active_record_1
143
-  (0.0ms) SAVEPOINT active_record_1
144
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
145
-  (0.0ms) SAVEPOINT active_record_1
146
-  (0.0ms) RELEASE SAVEPOINT active_record_1
147
-  (0.0ms) SAVEPOINT active_record_1
148
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
149
-  (0.0ms) SAVEPOINT active_record_1
150
-  (0.0ms) RELEASE SAVEPOINT active_record_1
151
-  (0.0ms) SAVEPOINT active_record_1
152
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
153
-  (0.0ms) SAVEPOINT active_record_1
154
-  (0.0ms) RELEASE SAVEPOINT active_record_1
155
-  (0.0ms) SAVEPOINT active_record_1
156
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
157
-  (0.0ms) rollback transaction
158
-  (0.0ms) begin transaction
159
-  (0.0ms) commit transaction
160
-  (0.0ms) begin transaction
161
-  (0.0ms) SAVEPOINT active_record_1
162
-  (0.0ms) RELEASE SAVEPOINT active_record_1
163
-  (0.0ms) SAVEPOINT active_record_1
164
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
165
-  (0.0ms) rollback transaction
166
-  (0.0ms) begin transaction
167
-  (0.0ms) commit transaction
168
-  (0.0ms) begin transaction
169
-  (0.0ms) SAVEPOINT active_record_1
170
-  (0.0ms) RELEASE SAVEPOINT active_record_1
171
-  (0.0ms) SAVEPOINT active_record_1
172
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
173
-  (0.0ms) SAVEPOINT active_record_1
174
-  (0.0ms) RELEASE SAVEPOINT active_record_1
175
-  (0.0ms) SAVEPOINT active_record_1
176
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
177
-  (0.0ms) SAVEPOINT active_record_1
178
-  (0.0ms) RELEASE SAVEPOINT active_record_1
179
-  (0.0ms) SAVEPOINT active_record_1
180
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
181
-  (0.0ms) rollback transaction
182
-  (0.0ms) begin transaction
183
-  (0.0ms) commit transaction
184
-  (0.0ms) begin transaction
185
-  (0.0ms) SAVEPOINT active_record_1
186
-  (0.0ms) RELEASE SAVEPOINT active_record_1
187
-  (0.0ms) SAVEPOINT active_record_1
188
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
189
-  (0.0ms) rollback transaction
190
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
191
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
192
-  (0.0ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
193
-  (0.0ms) SELECT sqlite_version(*)
194
-  (15.7ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)
195
-  (17.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
196
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
197
-  (16.4ms) INSERT INTO "schema_migrations" (version) VALUES (0)
198
-  (10.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
199
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
200
-  (0.0ms) begin transaction
201
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-24 15:54:18.235355"], ["updated_at", "2019-05-24 15:54:18.235355"]]
202
-  (12.2ms) commit transaction
203
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
204
-  (0.0ms) begin transaction
205
-  (0.0ms) commit transaction
206
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
207
-  (0.1ms) PRAGMA foreign_keys
208
-  (0.0ms) PRAGMA foreign_keys = OFF
209
-  (14.4ms) DELETE FROM "openstax_salesforce_users";
210
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
211
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
212
-  (9.9ms) DELETE FROM "ar_internal_metadata";
213
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
214
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
215
-  (0.0ms) PRAGMA foreign_keys = 1
216
-  (0.0ms) begin transaction
217
-  (0.0ms) commit transaction
218
-  (0.0ms) begin transaction
219
-  (0.1ms) SAVEPOINT active_record_1
220
-  (0.0ms) RELEASE SAVEPOINT active_record_1
221
-  (0.0ms) SAVEPOINT active_record_1
222
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
223
-  (0.0ms) rollback transaction
224
-  (0.0ms) begin transaction
225
-  (0.0ms) commit transaction
226
-  (0.0ms) begin transaction
227
-  (0.0ms) SAVEPOINT active_record_1
228
-  (0.0ms) RELEASE SAVEPOINT active_record_1
229
-  (0.0ms) SAVEPOINT active_record_1
230
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
231
- Filter chain halted as #<Proc:0x000055e814e4f758@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
232
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
233
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
234
-  (0.0ms) SAVEPOINT active_record_1
235
-  (0.0ms) RELEASE SAVEPOINT active_record_1
236
-  (0.0ms) SAVEPOINT active_record_1
237
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
238
- Rendering text template
239
- Rendered text template (0.0ms)
240
- Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
241
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
242
-  (0.0ms) rollback transaction
243
-  (0.0ms) begin transaction
244
-  (0.0ms) commit transaction
245
-  (0.0ms) begin transaction
246
-  (0.0ms) SAVEPOINT active_record_1
247
-  (0.0ms) RELEASE SAVEPOINT active_record_1
248
-  (0.0ms) SAVEPOINT active_record_1
249
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
250
-  (0.0ms) SAVEPOINT active_record_1
251
-  (0.0ms) RELEASE SAVEPOINT active_record_1
252
-  (0.0ms) SAVEPOINT active_record_1
253
-  (0.0ms) SAVEPOINT active_record_2
254
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Launa Roob"], ["uid", "c94631e2993efda48463"], ["oauth_token", "d9819d130f9f7ad6dc4bc32d9aa99442"], ["refresh_token", "51909babecd7dd4ad084f56e818c497c"], ["instance_url", "http://bradtke.co/herman_hilll"], ["created_at", "2019-05-24 15:54:19.598481"], ["updated_at", "2019-05-24 15:54:19.598481"]]
255
-  (0.0ms) RELEASE SAVEPOINT active_record_2
256
-  (0.0ms) SAVEPOINT active_record_2
257
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Moshe Dickinson III"], ["uid", "64383708da232a3b0afe"], ["oauth_token", "d932513238d70862c3dacdada7b9c1b9"], ["refresh_token", "fe08a9080cef4cdcee0633d10a41f84e"], ["instance_url", "http://pfeffercronin.info/ellis"], ["created_at", "2019-05-24 15:54:19.599572"], ["updated_at", "2019-05-24 15:54:19.599572"]]
258
-  (0.0ms) RELEASE SAVEPOINT active_record_2
259
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
260
-  (0.0ms) SAVEPOINT active_record_1
261
-  (0.0ms) RELEASE SAVEPOINT active_record_1
262
-  (0.0ms) SAVEPOINT active_record_1
263
-  (0.0ms) SAVEPOINT active_record_2
264
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Phillip Robel"], ["uid", "someuid"], ["oauth_token", "e5690f4f87e0b7c81e7da5d79e8268d8"], ["refresh_token", "4a7d9e0a19c267ae968c9a121980a11c"], ["instance_url", "http://fritsch.name/brendan.roob"], ["created_at", "2019-05-24 15:54:19.601272"], ["updated_at", "2019-05-24 15:54:19.601272"]]
265
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
266
-  (0.0ms) RELEASE SAVEPOINT active_record_2
267
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
268
-  (0.0ms) SAVEPOINT active_record_1
269
-  (0.0ms) RELEASE SAVEPOINT active_record_1
270
-  (0.0ms) SAVEPOINT active_record_1
271
-  (0.0ms) SAVEPOINT active_record_2
272
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Maye Kuphal IV"], ["uid", "7bc3f57349cf527f0d2c"], ["oauth_token", "e0b9e3274ad73e20340f86767dd5ecce"], ["refresh_token", "3de75911ed8231e98ec6d45247918946"], ["instance_url", "http://haag.org/michael.gibson"], ["created_at", "2019-05-24 15:54:19.603578"], ["updated_at", "2019-05-24 15:54:19.603578"]]
273
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
274
-  (0.0ms) RELEASE SAVEPOINT active_record_2
275
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
276
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
277
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
278
-  (0.0ms) SAVEPOINT active_record_2
279
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
280
-  (0.0ms) RELEASE SAVEPOINT active_record_2
281
- Redirected to http://test.host/admin/salesforce/
282
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
283
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
284
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
285
-  (0.0ms) SAVEPOINT active_record_1
286
-  (0.0ms) RELEASE SAVEPOINT active_record_1
287
-  (0.0ms) SAVEPOINT active_record_1
288
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
289
- Filter chain halted as #<Proc:0x000055e814e4f758@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
290
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
291
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
292
-  (0.1ms) rollback transaction
293
-  (0.0ms) begin transaction
294
-  (0.0ms) commit transaction
295
-  (0.0ms) begin transaction
296
-  (0.0ms) SAVEPOINT active_record_1
297
-  (0.0ms) RELEASE SAVEPOINT active_record_1
298
-  (0.0ms) SAVEPOINT active_record_1
299
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
300
-  (0.0ms) rollback transaction
301
-  (0.0ms) begin transaction
302
-  (0.0ms) commit transaction
303
-  (0.0ms) begin transaction
304
-  (0.0ms) SAVEPOINT active_record_1
305
-  (0.0ms) RELEASE SAVEPOINT active_record_1
306
-  (0.0ms) SAVEPOINT active_record_1
307
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
308
-  (0.0ms) SAVEPOINT active_record_1
309
-  (0.0ms) RELEASE SAVEPOINT active_record_1
310
-  (0.0ms) SAVEPOINT active_record_1
311
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
312
-  (0.0ms) SAVEPOINT active_record_1
313
-  (0.0ms) RELEASE SAVEPOINT active_record_1
314
-  (0.0ms) SAVEPOINT active_record_1
315
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
316
-  (0.0ms) SAVEPOINT active_record_1
317
-  (0.0ms) RELEASE SAVEPOINT active_record_1
318
-  (0.0ms) SAVEPOINT active_record_1
319
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
320
-  (0.0ms) SAVEPOINT active_record_1
321
-  (0.0ms) RELEASE SAVEPOINT active_record_1
322
-  (0.0ms) SAVEPOINT active_record_1
323
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
324
-  (0.0ms) SAVEPOINT active_record_1
325
-  (0.0ms) RELEASE SAVEPOINT active_record_1
326
-  (0.0ms) SAVEPOINT active_record_1
327
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
328
-  (0.0ms) SAVEPOINT active_record_1
329
-  (0.0ms) RELEASE SAVEPOINT active_record_1
330
-  (0.0ms) SAVEPOINT active_record_1
331
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
332
-  (0.0ms) SAVEPOINT active_record_1
333
-  (0.0ms) RELEASE SAVEPOINT active_record_1
334
-  (0.0ms) SAVEPOINT active_record_1
335
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
336
-  (0.0ms) SAVEPOINT active_record_1
337
-  (0.0ms) RELEASE SAVEPOINT active_record_1
338
-  (0.0ms) SAVEPOINT active_record_1
339
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
340
-  (0.0ms) SAVEPOINT active_record_1
341
-  (0.0ms) RELEASE SAVEPOINT active_record_1
342
-  (0.0ms) SAVEPOINT active_record_1
343
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
344
-  (0.0ms) SAVEPOINT active_record_1
345
-  (0.0ms) RELEASE SAVEPOINT active_record_1
346
-  (0.0ms) SAVEPOINT active_record_1
347
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
348
-  (0.0ms) rollback transaction
349
-  (0.0ms) begin transaction
350
-  (0.0ms) commit transaction
351
-  (0.0ms) begin transaction
352
-  (0.0ms) SAVEPOINT active_record_1
353
-  (0.0ms) RELEASE SAVEPOINT active_record_1
354
-  (0.0ms) SAVEPOINT active_record_1
355
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
356
-  (0.0ms) rollback transaction
357
-  (0.0ms) begin transaction
358
-  (0.0ms) commit transaction
359
-  (0.0ms) begin transaction
360
-  (0.0ms) SAVEPOINT active_record_1
361
-  (0.0ms) RELEASE SAVEPOINT active_record_1
362
-  (0.0ms) SAVEPOINT active_record_1
363
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
364
-  (0.0ms) SAVEPOINT active_record_1
365
-  (0.0ms) RELEASE SAVEPOINT active_record_1
366
-  (0.0ms) SAVEPOINT active_record_1
367
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
368
-  (0.0ms) SAVEPOINT active_record_1
369
-  (0.0ms) RELEASE SAVEPOINT active_record_1
370
-  (0.0ms) SAVEPOINT active_record_1
371
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
372
-  (0.0ms) rollback transaction
373
-  (0.0ms) begin transaction
374
-  (0.0ms) commit transaction
375
-  (0.0ms) begin transaction
376
-  (0.0ms) SAVEPOINT active_record_1
377
-  (0.0ms) RELEASE SAVEPOINT active_record_1
378
-  (0.0ms) SAVEPOINT active_record_1
379
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
380
-  (0.0ms) rollback transaction
381
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
382
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
383
-  (0.0ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
384
-  (0.0ms) SELECT sqlite_version(*)
385
-  (15.9ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)
386
-  (17.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
387
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
388
-  (16.7ms) INSERT INTO "schema_migrations" (version) VALUES (0)
389
-  (11.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
390
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
391
-  (0.1ms) begin transaction
392
- ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-24 15:55:28.564686"], ["updated_at", "2019-05-24 15:55:28.564686"]]
393
-  (10.6ms) commit transaction
394
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
395
-  (0.1ms) begin transaction
396
-  (0.1ms) commit transaction
397
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
398
-  (0.0ms) PRAGMA foreign_keys
399
-  (0.0ms) PRAGMA foreign_keys = OFF
400
-  (14.4ms) DELETE FROM "openstax_salesforce_users";
401
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
402
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
403
-  (9.8ms) DELETE FROM "ar_internal_metadata";
404
-  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
405
-  (0.0ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
406
-  (0.0ms) PRAGMA foreign_keys = 1
407
-  (0.0ms) begin transaction
408
-  (0.0ms) commit transaction
409
-  (0.0ms) begin transaction
410
-  (0.0ms) SAVEPOINT active_record_1
411
-  (0.0ms) RELEASE SAVEPOINT active_record_1
412
-  (0.0ms) SAVEPOINT active_record_1
413
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
414
-  (0.0ms) rollback transaction
415
-  (0.0ms) begin transaction
416
-  (0.0ms) commit transaction
417
-  (0.0ms) begin transaction
418
-  (0.0ms) SAVEPOINT active_record_1
419
-  (0.0ms) RELEASE SAVEPOINT active_record_1
420
-  (0.0ms) SAVEPOINT active_record_1
421
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
422
- Filter chain halted as #<Proc:0x000056445e530a90@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
423
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
424
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
425
-  (0.0ms) SAVEPOINT active_record_1
426
-  (0.0ms) RELEASE SAVEPOINT active_record_1
427
-  (0.0ms) SAVEPOINT active_record_1
428
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
429
- Rendering text template
430
- Rendered text template (0.0ms)
431
- Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
432
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
433
-  (0.0ms) rollback transaction
434
-  (0.0ms) begin transaction
435
-  (0.0ms) commit transaction
436
-  (0.0ms) begin transaction
437
-  (0.0ms) SAVEPOINT active_record_1
438
-  (0.0ms) RELEASE SAVEPOINT active_record_1
439
-  (0.0ms) SAVEPOINT active_record_1
440
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
441
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
442
- Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
443
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
444
-  (0.0ms) SAVEPOINT active_record_1
445
-  (0.0ms) RELEASE SAVEPOINT active_record_1
446
-  (0.0ms) SAVEPOINT active_record_1
447
-  (0.0ms) SAVEPOINT active_record_2
448
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Ming Beatty"], ["uid", "0b8097c02317ec6c2613"], ["oauth_token", "e6f4f2e88cc6e95fe6b3154776eb54d9"], ["refresh_token", "6dd6e8e68c8c4e5af3b2503b197a91cb"], ["instance_url", "http://hermiston.org/una"], ["created_at", "2019-05-24 15:55:29.870797"], ["updated_at", "2019-05-24 15:55:29.870797"]]
449
-  (0.0ms) RELEASE SAVEPOINT active_record_2
450
-  (0.0ms) SAVEPOINT active_record_2
451
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Kasi Stoltenberg"], ["uid", "828aae96362ac561f770"], ["oauth_token", "3b3ae368483be094b00db43a6d22e283"], ["refresh_token", "900d58ee521a9222dad32f9decebea74"], ["instance_url", "http://ritchieflatley.com/brice.deckow"], ["created_at", "2019-05-24 15:55:29.871787"], ["updated_at", "2019-05-24 15:55:29.871787"]]
452
-  (0.0ms) RELEASE SAVEPOINT active_record_2
453
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
454
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
455
- Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
456
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
457
-  (0.0ms) SAVEPOINT active_record_1
458
-  (0.0ms) RELEASE SAVEPOINT active_record_1
459
-  (0.0ms) SAVEPOINT active_record_1
460
-  (0.0ms) SAVEPOINT active_record_2
461
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Mohammad Little"], ["uid", "someuid"], ["oauth_token", "86283955b779fcc615b05c4963af3c9b"], ["refresh_token", "3f46c9feb6b2c618f394d2a5a27f2286"], ["instance_url", "http://lesch.io/tonisha"], ["created_at", "2019-05-24 15:55:29.875862"], ["updated_at", "2019-05-24 15:55:29.875862"]]
462
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
463
-  (0.0ms) RELEASE SAVEPOINT active_record_2
464
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
465
- Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
466
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
467
-  (0.0ms) SAVEPOINT active_record_1
468
-  (0.0ms) RELEASE SAVEPOINT active_record_1
469
-  (0.0ms) SAVEPOINT active_record_1
470
-  (0.0ms) SAVEPOINT active_record_2
471
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Alberto Luettgen"], ["uid", "211fb08f9db077e4fe9b"], ["oauth_token", "3d51e33d3f24931879ee08a963405516"], ["refresh_token", "21597dbc2624e1bf5310a09d3d6bd73f"], ["instance_url", "http://millerbosco.com/ignacia.terry"], ["created_at", "2019-05-24 15:55:29.879724"], ["updated_at", "2019-05-24 15:55:29.879724"]]
472
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
473
-  (0.0ms) RELEASE SAVEPOINT active_record_2
474
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
475
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
476
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
477
-  (0.0ms) SAVEPOINT active_record_2
478
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
479
-  (0.0ms) RELEASE SAVEPOINT active_record_2
480
- Redirected to http://test.host/admin/salesforce/
481
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
482
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
483
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
484
-  (0.0ms) SAVEPOINT active_record_1
485
-  (0.0ms) RELEASE SAVEPOINT active_record_1
486
-  (0.0ms) SAVEPOINT active_record_1
487
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
488
- Filter chain halted as #<Proc:0x000056445e530a90@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
489
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
490
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
491
-  (0.1ms) rollback transaction
492
-  (0.0ms) begin transaction
493
-  (0.0ms) commit transaction
494
-  (0.0ms) begin transaction
495
-  (0.0ms) SAVEPOINT active_record_1
496
-  (0.0ms) RELEASE SAVEPOINT active_record_1
497
-  (0.0ms) SAVEPOINT active_record_1
498
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
499
-  (0.0ms) rollback transaction
500
-  (0.0ms) begin transaction
501
-  (0.0ms) commit transaction
502
-  (0.0ms) begin transaction
503
-  (0.0ms) SAVEPOINT active_record_1
504
-  (0.0ms) RELEASE SAVEPOINT active_record_1
505
-  (0.0ms) SAVEPOINT active_record_1
506
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
507
-  (0.0ms) SAVEPOINT active_record_1
508
-  (0.0ms) RELEASE SAVEPOINT active_record_1
509
-  (0.0ms) SAVEPOINT active_record_1
510
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
511
-  (0.0ms) SAVEPOINT active_record_1
512
-  (0.0ms) RELEASE SAVEPOINT active_record_1
513
-  (0.0ms) SAVEPOINT active_record_1
514
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
515
-  (0.0ms) SAVEPOINT active_record_1
516
-  (0.0ms) RELEASE SAVEPOINT active_record_1
517
-  (0.0ms) SAVEPOINT active_record_1
518
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
519
-  (0.0ms) SAVEPOINT active_record_1
520
-  (0.0ms) RELEASE SAVEPOINT active_record_1
521
-  (0.0ms) SAVEPOINT active_record_1
522
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
523
-  (0.0ms) SAVEPOINT active_record_1
524
-  (0.0ms) RELEASE SAVEPOINT active_record_1
525
-  (0.0ms) SAVEPOINT active_record_1
526
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
527
-  (0.0ms) SAVEPOINT active_record_1
528
-  (0.0ms) RELEASE SAVEPOINT active_record_1
529
-  (0.0ms) SAVEPOINT active_record_1
530
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
531
-  (0.0ms) SAVEPOINT active_record_1
532
-  (0.0ms) RELEASE SAVEPOINT active_record_1
533
-  (0.0ms) SAVEPOINT active_record_1
534
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
535
-  (0.0ms) SAVEPOINT active_record_1
536
-  (0.0ms) RELEASE SAVEPOINT active_record_1
537
-  (0.0ms) SAVEPOINT active_record_1
538
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
539
-  (0.0ms) SAVEPOINT active_record_1
540
-  (0.0ms) RELEASE SAVEPOINT active_record_1
541
-  (0.0ms) SAVEPOINT active_record_1
542
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
543
-  (0.0ms) SAVEPOINT active_record_1
544
-  (0.0ms) RELEASE SAVEPOINT active_record_1
545
-  (0.0ms) SAVEPOINT active_record_1
546
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
547
-  (0.0ms) rollback transaction
548
-  (0.0ms) begin transaction
549
-  (0.0ms) commit transaction
550
-  (0.0ms) begin transaction
551
-  (0.0ms) SAVEPOINT active_record_1
552
-  (0.0ms) RELEASE SAVEPOINT active_record_1
553
-  (0.0ms) SAVEPOINT active_record_1
554
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
555
-  (0.0ms) rollback transaction
556
-  (0.0ms) begin transaction
557
-  (0.0ms) commit transaction
558
-  (0.0ms) begin transaction
559
-  (0.0ms) SAVEPOINT active_record_1
560
-  (0.0ms) RELEASE SAVEPOINT active_record_1
561
-  (0.0ms) SAVEPOINT active_record_1
562
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
563
-  (0.0ms) SAVEPOINT active_record_1
564
-  (0.0ms) RELEASE SAVEPOINT active_record_1
565
-  (0.0ms) SAVEPOINT active_record_1
566
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
567
-  (0.0ms) SAVEPOINT active_record_1
568
-  (0.0ms) RELEASE SAVEPOINT active_record_1
569
-  (0.0ms) SAVEPOINT active_record_1
570
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
571
-  (0.0ms) rollback transaction
572
-  (0.0ms) begin transaction
573
-  (0.0ms) commit transaction
574
-  (0.0ms) begin transaction
575
-  (0.0ms) SAVEPOINT active_record_1
576
-  (0.0ms) RELEASE SAVEPOINT active_record_1
577
-  (0.0ms) SAVEPOINT active_record_1
578
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
579
-  (0.0ms) rollback transaction
580
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
581
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
582
-  (0.0ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
583
-  (0.0ms) SELECT sqlite_version(*)
584
-  (15.8ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)
585
-  (17.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
586
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
587
-  (16.3ms) INSERT INTO "schema_migrations" (version) VALUES (0)
588
-  (11.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
589
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
590
-  (0.0ms) begin transaction
591
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-24 15:56:03.267435"], ["updated_at", "2019-05-24 15:56:03.267435"]]
592
-  (11.7ms) commit transaction
593
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
594
-  (0.0ms) begin transaction
595
-  (0.0ms) commit transaction
596
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
597
-  (0.1ms) PRAGMA foreign_keys
598
-  (0.0ms) PRAGMA foreign_keys = OFF
599
-  (14.8ms) DELETE FROM "openstax_salesforce_users";
600
-  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
601
-  (0.0ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
602
-  (10.0ms) DELETE FROM "ar_internal_metadata";
603
-  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
604
-  (0.0ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
605
-  (0.0ms) PRAGMA foreign_keys = 1
606
-  (0.0ms) begin transaction
607
-  (0.0ms) commit transaction
608
-  (0.0ms) begin transaction
609
-  (0.1ms) SAVEPOINT active_record_1
610
-  (0.0ms) RELEASE SAVEPOINT active_record_1
611
-  (0.0ms) SAVEPOINT active_record_1
612
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
613
-  (0.0ms) rollback transaction
614
-  (0.0ms) begin transaction
615
-  (0.0ms) commit transaction
616
-  (0.0ms) begin transaction
617
-  (0.0ms) SAVEPOINT active_record_1
618
-  (0.0ms) RELEASE SAVEPOINT active_record_1
619
-  (0.0ms) SAVEPOINT active_record_1
620
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
621
- Filter chain halted as #<Proc:0x00005598f340cd38@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
622
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
623
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
624
-  (0.0ms) SAVEPOINT active_record_1
625
-  (0.0ms) RELEASE SAVEPOINT active_record_1
626
-  (0.0ms) SAVEPOINT active_record_1
627
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
628
- Rendering text template
629
- Rendered text template (0.0ms)
630
- Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
631
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
632
-  (0.0ms) rollback transaction
633
-  (0.0ms) begin transaction
634
-  (0.0ms) commit transaction
635
-  (0.0ms) begin transaction
636
-  (0.0ms) SAVEPOINT active_record_1
637
-  (0.0ms) RELEASE SAVEPOINT active_record_1
638
-  (0.0ms) SAVEPOINT active_record_1
639
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
640
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
641
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
642
-  (0.0ms) SAVEPOINT active_record_2
643
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 15:56:04.229708"], ["updated_at", "2019-05-24 15:56:04.229708"]]
644
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
645
-  (0.0ms) RELEASE SAVEPOINT active_record_2
646
- Redirected to http://:/admin/salesforce/
647
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
648
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
649
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
650
-  (0.0ms) SAVEPOINT active_record_1
651
-  (0.0ms) RELEASE SAVEPOINT active_record_1
652
-  (0.0ms) SAVEPOINT active_record_1
653
-  (0.0ms) SAVEPOINT active_record_2
654
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Dean Schamberger"], ["uid", "904cfcf2d65c62f834f7"], ["oauth_token", "8e47564699e8fd44ef40f2f6af7d5866"], ["refresh_token", "17fddde20f8343d3c32e5dcd91607ad1"], ["instance_url", "http://leuschke.com/arlie"], ["created_at", "2019-05-24 15:56:04.602051"], ["updated_at", "2019-05-24 15:56:04.602051"]]
655
-  (0.0ms) RELEASE SAVEPOINT active_record_2
656
-  (0.0ms) SAVEPOINT active_record_2
657
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Brian McCullough"], ["uid", "8fa73e7fdbad2b68c3a3"], ["oauth_token", "edcfd89054f49e0d3009bcee4442bf54"], ["refresh_token", "87beb896d10e15e6bf71b3525028e766"], ["instance_url", "http://veum.co/eneida.feeney"], ["created_at", "2019-05-24 15:56:04.602997"], ["updated_at", "2019-05-24 15:56:04.602997"]]
658
-  (0.0ms) RELEASE SAVEPOINT active_record_2
659
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
660
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
661
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
662
-  (0.0ms) SAVEPOINT active_record_2
663
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 15:56:04.604496"], ["updated_at", "2019-05-24 15:56:04.604496"]]
664
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 3]]
665
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
666
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
667
-  (0.0ms) RELEASE SAVEPOINT active_record_2
668
- Redirected to http://:/admin/salesforce/
669
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
670
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
671
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
672
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
673
-  (0.0ms) SAVEPOINT active_record_1
674
-  (0.0ms) RELEASE SAVEPOINT active_record_1
675
-  (0.0ms) SAVEPOINT active_record_1
676
-  (0.0ms) SAVEPOINT active_record_2
677
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Taina Quigley"], ["uid", "someuid"], ["oauth_token", "a2224381a991c68ddeaa691aa8258c33"], ["refresh_token", "bb463a27093dd1e01d6d42757c142f54"], ["instance_url", "http://wintheiser.biz/albert.west"], ["created_at", "2019-05-24 15:56:04.607449"], ["updated_at", "2019-05-24 15:56:04.607449"]]
678
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
679
-  (0.0ms) RELEASE SAVEPOINT active_record_2
680
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
681
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
682
-  (0.0ms) SAVEPOINT active_record_2
683
- OpenStax::Salesforce::User Update (0.0ms) UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2019-05-24 15:56:04.608782"], ["id", 1]]
684
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
685
-  (0.0ms) RELEASE SAVEPOINT active_record_2
686
- Redirected to http://:/admin/salesforce/
687
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
688
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
689
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
690
-  (0.0ms) SAVEPOINT active_record_1
691
-  (0.0ms) RELEASE SAVEPOINT active_record_1
692
-  (0.0ms) SAVEPOINT active_record_1
693
-  (0.0ms) SAVEPOINT active_record_2
694
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Jose Olson"], ["uid", "72be79241c543b683312"], ["oauth_token", "77e9c49bcf0adf0c5724bc5cd55e523a"], ["refresh_token", "26c6ccfd5a0831816c85c9ea18fb7c38"], ["instance_url", "http://wintheiser.com/shizue_marquardt"], ["created_at", "2019-05-24 15:56:04.611080"], ["updated_at", "2019-05-24 15:56:04.611080"]]
695
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
696
-  (0.0ms) RELEASE SAVEPOINT active_record_2
697
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
698
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
699
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
700
-  (0.0ms) SAVEPOINT active_record_2
701
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
702
-  (0.0ms) RELEASE SAVEPOINT active_record_2
703
- Redirected to http://test.host/admin/salesforce/
704
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
705
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
706
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
707
-  (0.0ms) SAVEPOINT active_record_1
708
-  (0.0ms) RELEASE SAVEPOINT active_record_1
709
-  (0.0ms) SAVEPOINT active_record_1
710
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
711
- Filter chain halted as #<Proc:0x00005598f340cd38@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
712
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
713
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
714
-  (0.1ms) rollback transaction
715
-  (0.0ms) begin transaction
716
-  (0.0ms) commit transaction
717
-  (0.0ms) begin transaction
718
-  (0.0ms) SAVEPOINT active_record_1
719
-  (0.0ms) RELEASE SAVEPOINT active_record_1
720
-  (0.0ms) SAVEPOINT active_record_1
721
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
722
-  (0.0ms) rollback transaction
723
-  (0.0ms) begin transaction
724
-  (0.0ms) commit transaction
725
-  (0.0ms) begin transaction
726
-  (0.0ms) SAVEPOINT active_record_1
727
-  (0.0ms) RELEASE SAVEPOINT active_record_1
728
-  (0.0ms) SAVEPOINT active_record_1
729
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
730
-  (0.0ms) SAVEPOINT active_record_1
731
-  (0.0ms) RELEASE SAVEPOINT active_record_1
732
-  (0.0ms) SAVEPOINT active_record_1
733
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
734
-  (0.0ms) SAVEPOINT active_record_1
735
-  (0.0ms) RELEASE SAVEPOINT active_record_1
736
-  (0.0ms) SAVEPOINT active_record_1
737
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
738
-  (0.0ms) SAVEPOINT active_record_1
739
-  (0.0ms) RELEASE SAVEPOINT active_record_1
740
-  (0.0ms) SAVEPOINT active_record_1
741
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
742
-  (0.0ms) SAVEPOINT active_record_1
743
-  (0.0ms) RELEASE SAVEPOINT active_record_1
744
-  (0.0ms) SAVEPOINT active_record_1
745
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
746
-  (0.0ms) SAVEPOINT active_record_1
747
-  (0.0ms) RELEASE SAVEPOINT active_record_1
748
-  (0.0ms) SAVEPOINT active_record_1
749
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
750
-  (0.0ms) SAVEPOINT active_record_1
751
-  (0.0ms) RELEASE SAVEPOINT active_record_1
752
-  (0.0ms) SAVEPOINT active_record_1
753
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
754
-  (0.0ms) SAVEPOINT active_record_1
755
-  (0.0ms) RELEASE SAVEPOINT active_record_1
756
-  (0.0ms) SAVEPOINT active_record_1
757
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
758
-  (0.0ms) SAVEPOINT active_record_1
759
-  (0.0ms) RELEASE SAVEPOINT active_record_1
760
-  (0.0ms) SAVEPOINT active_record_1
761
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
762
-  (0.0ms) SAVEPOINT active_record_1
763
-  (0.0ms) RELEASE SAVEPOINT active_record_1
764
-  (0.0ms) SAVEPOINT active_record_1
765
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
766
-  (0.0ms) SAVEPOINT active_record_1
767
-  (0.0ms) RELEASE SAVEPOINT active_record_1
768
-  (0.0ms) SAVEPOINT active_record_1
769
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
770
-  (0.0ms) rollback transaction
771
-  (0.0ms) begin transaction
772
-  (0.0ms) commit transaction
773
-  (0.0ms) begin transaction
774
-  (0.0ms) SAVEPOINT active_record_1
775
-  (0.0ms) RELEASE SAVEPOINT active_record_1
776
-  (0.0ms) SAVEPOINT active_record_1
777
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
778
-  (0.0ms) rollback transaction
779
-  (0.0ms) begin transaction
780
-  (0.0ms) commit transaction
781
-  (0.0ms) begin transaction
782
-  (0.0ms) SAVEPOINT active_record_1
783
-  (0.0ms) RELEASE SAVEPOINT active_record_1
784
-  (0.0ms) SAVEPOINT active_record_1
785
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
786
-  (0.0ms) SAVEPOINT active_record_1
787
-  (0.0ms) RELEASE SAVEPOINT active_record_1
788
-  (0.0ms) SAVEPOINT active_record_1
789
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
790
-  (0.0ms) SAVEPOINT active_record_1
791
-  (0.0ms) RELEASE SAVEPOINT active_record_1
792
-  (0.0ms) SAVEPOINT active_record_1
793
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
794
-  (0.0ms) rollback transaction
795
-  (0.0ms) begin transaction
796
-  (0.0ms) commit transaction
797
-  (0.0ms) begin transaction
798
-  (0.0ms) SAVEPOINT active_record_1
799
-  (0.0ms) RELEASE SAVEPOINT active_record_1
800
-  (0.0ms) SAVEPOINT active_record_1
801
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
802
-  (0.0ms) rollback transaction
803
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
804
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
805
-  (0.0ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
806
-  (0.0ms) SELECT sqlite_version(*)
807
-  (16.0ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)
808
-  (17.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
809
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
810
-  (15.5ms) INSERT INTO "schema_migrations" (version) VALUES (0)
811
-  (11.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
812
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
813
-  (0.1ms) begin transaction
814
- ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-24 15:57:05.346176"], ["updated_at", "2019-05-24 15:57:05.346176"]]
815
-  (10.3ms) commit transaction
816
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
817
-  (0.1ms) begin transaction
818
-  (0.1ms) commit transaction
819
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
820
-  (0.1ms) PRAGMA foreign_keys
821
-  (0.0ms) PRAGMA foreign_keys = OFF
822
-  (21.4ms) DELETE FROM "openstax_salesforce_users";
823
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
824
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
825
-  (10.6ms) DELETE FROM "ar_internal_metadata";
826
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
827
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
828
-  (0.1ms) PRAGMA foreign_keys = 1
829
-  (0.1ms) begin transaction
830
-  (0.1ms) commit transaction
831
-  (0.1ms) begin transaction
832
-  (0.1ms) SAVEPOINT active_record_1
833
-  (0.1ms) RELEASE SAVEPOINT active_record_1
834
-  (0.1ms) SAVEPOINT active_record_1
835
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
836
-  (0.0ms) rollback transaction
837
-  (0.0ms) begin transaction
838
-  (0.0ms) commit transaction
839
-  (0.0ms) begin transaction
840
-  (0.0ms) SAVEPOINT active_record_1
841
-  (0.0ms) RELEASE SAVEPOINT active_record_1
842
-  (0.0ms) SAVEPOINT active_record_1
843
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
844
- Filter chain halted as #<Proc:0x000055bd2e9bd750@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
845
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
846
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
847
-  (0.0ms) SAVEPOINT active_record_1
848
-  (0.0ms) RELEASE SAVEPOINT active_record_1
849
-  (0.0ms) SAVEPOINT active_record_1
850
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
851
- Rendering text template
852
- Rendered text template (0.0ms)
853
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
854
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
855
-  (0.0ms) rollback transaction
856
-  (0.0ms) begin transaction
857
-  (0.0ms) commit transaction
858
-  (0.0ms) begin transaction
859
-  (0.0ms) SAVEPOINT active_record_1
860
-  (0.0ms) RELEASE SAVEPOINT active_record_1
861
-  (0.0ms) SAVEPOINT active_record_1
862
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
863
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
864
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
865
-  (0.0ms) SAVEPOINT active_record_2
866
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 15:57:06.338566"], ["updated_at", "2019-05-24 15:57:06.338566"]]
867
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
868
-  (0.0ms) RELEASE SAVEPOINT active_record_2
869
- Redirected to http://:/admin/salesforce/
870
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
871
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
872
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
873
-  (0.0ms) SAVEPOINT active_record_1
874
-  (0.0ms) RELEASE SAVEPOINT active_record_1
875
-  (0.0ms) SAVEPOINT active_record_1
876
-  (0.0ms) SAVEPOINT active_record_2
877
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Dennis Bergnaum"], ["uid", "0d745bf2c1d07a6b9054"], ["oauth_token", "5327280eabaca3cf50e55c46589f2907"], ["refresh_token", "9cd4f11c260e128024f86fd692306b6b"], ["instance_url", "http://wehner.net/shannon.borer"], ["created_at", "2019-05-24 15:57:06.684497"], ["updated_at", "2019-05-24 15:57:06.684497"]]
878
-  (0.0ms) RELEASE SAVEPOINT active_record_2
879
-  (0.0ms) SAVEPOINT active_record_2
880
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Gilma Bailey"], ["uid", "5a3b75b7ad9bdd4bb925"], ["oauth_token", "e20423410019e98f7ee907388a8479d8"], ["refresh_token", "995e1d454c6f25ea49b8269da2dbda8c"], ["instance_url", "http://carrollstark.co/vida"], ["created_at", "2019-05-24 15:57:06.686257"], ["updated_at", "2019-05-24 15:57:06.686257"]]
881
-  (0.0ms) RELEASE SAVEPOINT active_record_2
882
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
883
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
884
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
885
-  (0.0ms) SAVEPOINT active_record_2
886
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 15:57:06.689364"], ["updated_at", "2019-05-24 15:57:06.689364"]]
887
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 3]]
888
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
889
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
890
-  (0.0ms) RELEASE SAVEPOINT active_record_2
891
- Redirected to http://:/admin/salesforce/
892
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
893
-  (0.7ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
894
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
895
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
896
-  (0.0ms) SAVEPOINT active_record_1
897
-  (0.0ms) RELEASE SAVEPOINT active_record_1
898
-  (0.0ms) SAVEPOINT active_record_1
899
-  (0.0ms) SAVEPOINT active_record_2
900
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Krishna Smitham V"], ["uid", "someuid"], ["oauth_token", "6764d1f686fea15298303c281c5cfd59"], ["refresh_token", "53cc17f484a124690438de358d301c5c"], ["instance_url", "http://harveyyost.biz/herbert.abshire"], ["created_at", "2019-05-24 15:57:06.696531"], ["updated_at", "2019-05-24 15:57:06.696531"]]
901
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
902
-  (0.0ms) RELEASE SAVEPOINT active_record_2
903
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
904
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
905
-  (0.0ms) SAVEPOINT active_record_2
906
- OpenStax::Salesforce::User Update (0.0ms) UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2019-05-24 15:57:06.699031"], ["id", 1]]
907
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
908
-  (0.0ms) RELEASE SAVEPOINT active_record_2
909
- Redirected to http://:/admin/salesforce/
910
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
911
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
912
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
913
-  (0.0ms) SAVEPOINT active_record_1
914
-  (0.0ms) RELEASE SAVEPOINT active_record_1
915
-  (0.0ms) SAVEPOINT active_record_1
916
-  (0.0ms) SAVEPOINT active_record_2
917
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Sherita Mann IV"], ["uid", "274ca078e170c477e901"], ["oauth_token", "6955af0edbfcd28bda016b9de701cd7c"], ["refresh_token", "e057a523b164697c393fa1b2411e30c6"], ["instance_url", "http://schneider.org/roland.gleichner"], ["created_at", "2019-05-24 15:57:06.703419"], ["updated_at", "2019-05-24 15:57:06.703419"]]
918
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
919
-  (0.0ms) RELEASE SAVEPOINT active_record_2
920
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
921
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
922
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
923
-  (0.0ms) SAVEPOINT active_record_2
924
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
925
-  (0.0ms) RELEASE SAVEPOINT active_record_2
926
- Redirected to http://test.host/admin/salesforce/
927
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
928
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
929
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
930
-  (0.2ms) SAVEPOINT active_record_1
931
-  (0.0ms) RELEASE SAVEPOINT active_record_1
932
-  (0.0ms) SAVEPOINT active_record_1
933
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
934
- Filter chain halted as #<Proc:0x000055bd2e9bd750@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
935
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
936
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
937
-  (0.1ms) rollback transaction
938
-  (0.1ms) begin transaction
939
-  (0.0ms) commit transaction
940
-  (0.0ms) begin transaction
941
-  (0.0ms) SAVEPOINT active_record_1
942
-  (0.0ms) RELEASE SAVEPOINT active_record_1
943
-  (0.0ms) SAVEPOINT active_record_1
944
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
945
-  (0.0ms) rollback transaction
946
-  (0.0ms) begin transaction
947
-  (0.0ms) commit transaction
948
-  (0.0ms) begin transaction
949
-  (0.0ms) SAVEPOINT active_record_1
950
-  (0.0ms) RELEASE SAVEPOINT active_record_1
951
-  (0.0ms) SAVEPOINT active_record_1
952
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
953
-  (0.0ms) SAVEPOINT active_record_1
954
-  (0.0ms) RELEASE SAVEPOINT active_record_1
955
-  (0.0ms) SAVEPOINT active_record_1
956
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
957
-  (0.0ms) SAVEPOINT active_record_1
958
-  (0.0ms) RELEASE SAVEPOINT active_record_1
959
-  (0.0ms) SAVEPOINT active_record_1
960
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
961
-  (0.0ms) SAVEPOINT active_record_1
962
-  (0.0ms) RELEASE SAVEPOINT active_record_1
963
-  (0.0ms) SAVEPOINT active_record_1
964
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
965
-  (0.0ms) SAVEPOINT active_record_1
966
-  (0.0ms) RELEASE SAVEPOINT active_record_1
967
-  (0.0ms) SAVEPOINT active_record_1
968
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
969
-  (0.0ms) SAVEPOINT active_record_1
970
-  (0.1ms) RELEASE SAVEPOINT active_record_1
971
-  (0.0ms) SAVEPOINT active_record_1
972
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
973
-  (0.0ms) SAVEPOINT active_record_1
974
-  (0.0ms) RELEASE SAVEPOINT active_record_1
975
-  (0.0ms) SAVEPOINT active_record_1
976
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
977
-  (0.0ms) SAVEPOINT active_record_1
978
-  (0.0ms) RELEASE SAVEPOINT active_record_1
979
-  (0.0ms) SAVEPOINT active_record_1
980
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
981
-  (0.0ms) SAVEPOINT active_record_1
982
-  (0.0ms) RELEASE SAVEPOINT active_record_1
983
-  (0.0ms) SAVEPOINT active_record_1
984
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
985
-  (0.0ms) SAVEPOINT active_record_1
986
-  (0.0ms) RELEASE SAVEPOINT active_record_1
987
-  (0.0ms) SAVEPOINT active_record_1
988
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
989
-  (0.0ms) SAVEPOINT active_record_1
990
-  (0.0ms) RELEASE SAVEPOINT active_record_1
991
-  (0.0ms) SAVEPOINT active_record_1
992
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
993
-  (0.0ms) rollback transaction
994
-  (0.0ms) begin transaction
995
-  (0.0ms) commit transaction
996
-  (0.0ms) begin transaction
997
-  (0.0ms) SAVEPOINT active_record_1
998
-  (0.0ms) RELEASE SAVEPOINT active_record_1
999
-  (0.0ms) SAVEPOINT active_record_1
1000
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1001
-  (0.0ms) rollback transaction
1002
-  (0.0ms) begin transaction
1003
-  (0.0ms) commit transaction
1004
-  (0.0ms) begin transaction
1005
-  (0.0ms) SAVEPOINT active_record_1
1006
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1007
-  (0.0ms) SAVEPOINT active_record_1
1008
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1009
-  (0.0ms) SAVEPOINT active_record_1
1010
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1011
-  (0.0ms) SAVEPOINT active_record_1
1012
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1013
-  (0.0ms) SAVEPOINT active_record_1
1014
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1015
-  (0.0ms) SAVEPOINT active_record_1
1016
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1017
-  (0.0ms) rollback transaction
1018
-  (0.0ms) begin transaction
1019
-  (0.0ms) commit transaction
1020
-  (0.0ms) begin transaction
1021
-  (0.0ms) SAVEPOINT active_record_1
1022
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1023
-  (0.0ms) SAVEPOINT active_record_1
1024
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1025
-  (0.0ms) rollback transaction
1026
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1027
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1028
-  (0.0ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
1029
-  (0.0ms) SELECT sqlite_version(*)
1030
-  (15.5ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)
1031
-  (17.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1032
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1033
-  (16.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1034
-  (10.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1035
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1036
-  (0.0ms) begin transaction
1037
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-24 16:00:42.066214"], ["updated_at", "2019-05-24 16:00:42.066214"]]
1038
-  (12.1ms) commit transaction
1039
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1040
-  (0.1ms) begin transaction
1041
-  (0.1ms) commit transaction
1042
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1043
-  (0.0ms) PRAGMA foreign_keys
1044
-  (0.0ms) PRAGMA foreign_keys = OFF
1045
-  (14.8ms) DELETE FROM "openstax_salesforce_users";
1046
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1047
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1048
-  (10.1ms) DELETE FROM "ar_internal_metadata";
1049
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1050
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1051
-  (0.0ms) PRAGMA foreign_keys = 1
1052
-  (0.0ms) begin transaction
1053
-  (0.0ms) commit transaction
1054
-  (0.0ms) begin transaction
1055
-  (0.1ms) SAVEPOINT active_record_1
1056
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1057
-  (0.0ms) SAVEPOINT active_record_1
1058
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1059
-  (0.0ms) rollback transaction
1060
-  (0.0ms) begin transaction
1061
-  (0.0ms) commit transaction
1062
-  (0.0ms) begin transaction
1063
-  (0.0ms) SAVEPOINT active_record_1
1064
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1065
-  (0.0ms) SAVEPOINT active_record_1
1066
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1067
- Filter chain halted as #<Proc:0x000055c60d4661c0@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1068
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1069
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1070
-  (0.0ms) SAVEPOINT active_record_1
1071
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1072
-  (0.0ms) SAVEPOINT active_record_1
1073
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1074
- Rendering text template
1075
- Rendered text template (0.0ms)
1076
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1077
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1078
-  (0.0ms) rollback transaction
1079
-  (0.0ms) begin transaction
1080
-  (0.0ms) commit transaction
1081
-  (0.0ms) begin transaction
1082
-  (0.0ms) SAVEPOINT active_record_1
1083
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1084
-  (0.0ms) SAVEPOINT active_record_1
1085
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1086
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1087
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1088
-  (0.0ms) SAVEPOINT active_record_2
1089
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 16:00:43.069953"], ["updated_at", "2019-05-24 16:00:43.069953"]]
1090
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1091
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1092
- Redirected to http://:/admin/salesforce/
1093
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1094
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1095
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1096
-  (0.0ms) SAVEPOINT active_record_1
1097
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1098
-  (0.0ms) SAVEPOINT active_record_1
1099
-  (0.0ms) SAVEPOINT active_record_2
1100
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Marion Heaney Jr."], ["uid", "6dd97377499b2f63e589"], ["oauth_token", "4810030586b2347cd3c8e49d583d4672"], ["refresh_token", "85643065f1af0daef5882f2bd187a9d0"], ["instance_url", "http://ziemann.info/chi_cremin"], ["created_at", "2019-05-24 16:00:43.447299"], ["updated_at", "2019-05-24 16:00:43.447299"]]
1101
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1102
-  (0.0ms) SAVEPOINT active_record_2
1103
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Tabitha Nicolas"], ["uid", "40d8f32994e0e7184f7d"], ["oauth_token", "f956ba81b0eb0f8664aa8535c7792d70"], ["refresh_token", "2f26fb70305bb3219b9673e462278849"], ["instance_url", "http://bogisichjast.com/kathrine"], ["created_at", "2019-05-24 16:00:43.448187"], ["updated_at", "2019-05-24 16:00:43.448187"]]
1104
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1105
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1106
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1107
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1108
-  (0.0ms) SAVEPOINT active_record_2
1109
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 16:00:43.449633"], ["updated_at", "2019-05-24 16:00:43.449633"]]
1110
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 3]]
1111
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1112
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
1113
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1114
- Redirected to http://:/admin/salesforce/
1115
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1116
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1117
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1118
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1119
-  (0.0ms) SAVEPOINT active_record_1
1120
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1121
-  (0.0ms) SAVEPOINT active_record_1
1122
-  (0.0ms) SAVEPOINT active_record_2
1123
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Rosaria Botsford"], ["uid", "someuid"], ["oauth_token", "d14baad273a5ad258f353c1a0f697e75"], ["refresh_token", "0e160856fd24286bcf4fece80f891d74"], ["instance_url", "http://macgyverhilpert.biz/seth"], ["created_at", "2019-05-24 16:00:43.452522"], ["updated_at", "2019-05-24 16:00:43.452522"]]
1124
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1125
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1126
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1127
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1128
-  (0.0ms) SAVEPOINT active_record_2
1129
- OpenStax::Salesforce::User Update (0.0ms) UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2019-05-24 16:00:43.453711"], ["id", 1]]
1130
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1131
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1132
- Redirected to http://:/admin/salesforce/
1133
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
1134
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1135
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1136
-  (0.0ms) SAVEPOINT active_record_1
1137
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1138
-  (0.0ms) SAVEPOINT active_record_1
1139
-  (0.0ms) SAVEPOINT active_record_2
1140
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Alexander Kulas MD"], ["uid", "545afb0e2a9a5f5428b5"], ["oauth_token", "4380e6eeeb8ad295626b911f4862796f"], ["refresh_token", "98806783504520274e06e6e6dc1d33e2"], ["instance_url", "http://croninbashirian.name/divina"], ["created_at", "2019-05-24 16:00:43.455877"], ["updated_at", "2019-05-24 16:00:43.455877"]]
1141
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1142
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1143
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1144
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1145
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1146
-  (0.0ms) SAVEPOINT active_record_2
1147
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1148
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1149
- Redirected to http://test.host/admin/salesforce/
1150
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
1151
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1152
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1153
-  (0.0ms) SAVEPOINT active_record_1
1154
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1155
-  (0.0ms) SAVEPOINT active_record_1
1156
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
1157
- Filter chain halted as #<Proc:0x000055c60d4661c0@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1158
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1159
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1160
-  (0.1ms) rollback transaction
1161
-  (0.0ms) begin transaction
1162
-  (0.0ms) commit transaction
1163
-  (0.0ms) begin transaction
1164
-  (0.0ms) SAVEPOINT active_record_1
1165
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1166
-  (0.0ms) SAVEPOINT active_record_1
1167
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1168
-  (0.0ms) rollback transaction
1169
-  (0.0ms) begin transaction
1170
-  (0.0ms) commit transaction
1171
-  (0.0ms) begin transaction
1172
-  (0.0ms) SAVEPOINT active_record_1
1173
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1174
-  (0.0ms) SAVEPOINT active_record_1
1175
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1176
-  (0.0ms) SAVEPOINT active_record_1
1177
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1178
-  (0.0ms) SAVEPOINT active_record_1
1179
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1180
-  (0.0ms) SAVEPOINT active_record_1
1181
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1182
-  (0.0ms) SAVEPOINT active_record_1
1183
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1184
-  (0.0ms) SAVEPOINT active_record_1
1185
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1186
-  (0.0ms) SAVEPOINT active_record_1
1187
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1188
-  (0.0ms) SAVEPOINT active_record_1
1189
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1190
-  (0.0ms) SAVEPOINT active_record_1
1191
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1192
-  (0.0ms) SAVEPOINT active_record_1
1193
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1194
-  (0.0ms) SAVEPOINT active_record_1
1195
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1196
-  (0.1ms) SAVEPOINT active_record_1
1197
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1198
-  (0.0ms) SAVEPOINT active_record_1
1199
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1200
-  (0.0ms) SAVEPOINT active_record_1
1201
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1202
-  (0.0ms) SAVEPOINT active_record_1
1203
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1204
-  (0.0ms) SAVEPOINT active_record_1
1205
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1206
-  (0.0ms) SAVEPOINT active_record_1
1207
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1208
-  (0.0ms) SAVEPOINT active_record_1
1209
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1210
-  (0.0ms) SAVEPOINT active_record_1
1211
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1212
-  (0.0ms) SAVEPOINT active_record_1
1213
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1214
-  (0.0ms) SAVEPOINT active_record_1
1215
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1216
-  (0.0ms) rollback transaction
1217
-  (0.0ms) begin transaction
1218
-  (0.0ms) commit transaction
1219
-  (0.0ms) begin transaction
1220
-  (0.0ms) SAVEPOINT active_record_1
1221
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1222
-  (0.0ms) SAVEPOINT active_record_1
1223
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1224
-  (0.0ms) rollback transaction
1225
-  (0.0ms) begin transaction
1226
-  (0.0ms) commit transaction
1227
-  (0.0ms) begin transaction
1228
-  (0.0ms) SAVEPOINT active_record_1
1229
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1230
-  (0.0ms) SAVEPOINT active_record_1
1231
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1232
-  (0.0ms) SAVEPOINT active_record_1
1233
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1234
-  (0.0ms) SAVEPOINT active_record_1
1235
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1236
-  (0.0ms) SAVEPOINT active_record_1
1237
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1238
-  (0.0ms) SAVEPOINT active_record_1
1239
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1240
-  (0.0ms) rollback transaction
1241
-  (0.0ms) begin transaction
1242
-  (0.0ms) commit transaction
1243
-  (0.0ms) begin transaction
1244
-  (0.0ms) SAVEPOINT active_record_1
1245
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1246
-  (0.0ms) SAVEPOINT active_record_1
1247
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1248
-  (0.0ms) rollback transaction
1249
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1250
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1251
-  (0.0ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
1252
-  (0.0ms) SELECT sqlite_version(*)
1253
-  (11.0ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)
1254
-  (17.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1255
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1256
-  (16.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1257
-  (11.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1258
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1259
-  (0.1ms) begin transaction
1260
- ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-24 16:27:26.554241"], ["updated_at", "2019-05-24 16:27:26.554241"]]
1261
-  (10.3ms) commit transaction
1262
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1263
-  (0.1ms) begin transaction
1264
-  (0.1ms) commit transaction
1265
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1266
-  (0.1ms) PRAGMA foreign_keys
1267
-  (0.0ms) PRAGMA foreign_keys = OFF
1268
-  (14.7ms) DELETE FROM "openstax_salesforce_users";
1269
-  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1270
-  (0.0ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1271
-  (10.0ms) DELETE FROM "ar_internal_metadata";
1272
-  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1273
-  (0.0ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1274
-  (0.0ms) PRAGMA foreign_keys = 1
1275
-  (0.0ms) begin transaction
1276
-  (0.0ms) commit transaction
1277
-  (0.0ms) begin transaction
1278
-  (0.0ms) SAVEPOINT active_record_1
1279
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1280
-  (0.0ms) SAVEPOINT active_record_1
1281
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1282
-  (0.0ms) rollback transaction
1283
-  (0.0ms) begin transaction
1284
-  (0.0ms) commit transaction
1285
-  (0.0ms) begin transaction
1286
-  (0.0ms) SAVEPOINT active_record_1
1287
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1288
-  (0.0ms) SAVEPOINT active_record_1
1289
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1290
- Filter chain halted as #<Proc:0x000055f4df15dea0@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1291
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1292
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1293
-  (0.0ms) SAVEPOINT active_record_1
1294
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1295
-  (0.0ms) SAVEPOINT active_record_1
1296
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1297
- Rendering text template
1298
- Rendered text template (0.0ms)
1299
- Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
1300
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1301
-  (0.0ms) rollback transaction
1302
-  (0.0ms) begin transaction
1303
-  (0.0ms) commit transaction
1304
-  (0.0ms) begin transaction
1305
-  (0.0ms) SAVEPOINT active_record_1
1306
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1307
-  (0.0ms) SAVEPOINT active_record_1
1308
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1309
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1310
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1311
-  (0.0ms) SAVEPOINT active_record_2
1312
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 16:27:27.523087"], ["updated_at", "2019-05-24 16:27:27.523087"]]
1313
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1314
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1315
- Redirected to http://:/admin/salesforce/
1316
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1317
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1318
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1319
-  (0.0ms) SAVEPOINT active_record_1
1320
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1321
-  (0.0ms) SAVEPOINT active_record_1
1322
-  (0.0ms) SAVEPOINT active_record_2
1323
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Alden Leffler V"], ["uid", "2a9a56892f16c46de933"], ["oauth_token", "e2fe4987992ae8bbba9f58fa2458c1b3"], ["refresh_token", "3df020df9cdd97bc290860d92600b3f1"], ["instance_url", "http://jakubowski.org/chad"], ["created_at", "2019-05-24 16:27:27.874842"], ["updated_at", "2019-05-24 16:27:27.874842"]]
1324
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1325
-  (0.0ms) SAVEPOINT active_record_2
1326
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Numbers Pfannerstill"], ["uid", "fab066f8df2ae10fc8c3"], ["oauth_token", "1168b35c07dd737e37129bd1bc79f9be"], ["refresh_token", "16e91681d6a7eecf87d7fdfc2e9d5102"], ["instance_url", "http://kling.info/berry_kreiger"], ["created_at", "2019-05-24 16:27:27.877046"], ["updated_at", "2019-05-24 16:27:27.877046"]]
1327
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1328
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1329
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1330
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1331
-  (0.0ms) SAVEPOINT active_record_2
1332
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 16:27:27.880125"], ["updated_at", "2019-05-24 16:27:27.880125"]]
1333
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 3]]
1334
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1335
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
1336
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1337
- Redirected to http://:/admin/salesforce/
1338
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1339
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1340
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1341
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1342
-  (0.0ms) SAVEPOINT active_record_1
1343
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1344
-  (0.0ms) SAVEPOINT active_record_1
1345
-  (0.0ms) SAVEPOINT active_record_2
1346
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Duncan Russel"], ["uid", "someuid"], ["oauth_token", "a6978dbd06a6dd32b0a76503cac8c052"], ["refresh_token", "a9ed291bcec73aa8848ae32e4e1edf75"], ["instance_url", "http://labadie.info/kyle.shanahan"], ["created_at", "2019-05-24 16:27:27.885202"], ["updated_at", "2019-05-24 16:27:27.885202"]]
1347
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1348
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1349
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1350
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1351
-  (0.0ms) SAVEPOINT active_record_2
1352
- OpenStax::Salesforce::User Update (0.0ms) UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2019-05-24 16:27:27.887850"], ["id", 1]]
1353
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1354
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1355
- Redirected to http://:/admin/salesforce/
1356
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1357
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1358
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1359
-  (0.0ms) SAVEPOINT active_record_1
1360
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1361
-  (0.0ms) SAVEPOINT active_record_1
1362
-  (0.0ms) SAVEPOINT active_record_2
1363
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Renda Beier"], ["uid", "c815f538bfe1ba61c50e"], ["oauth_token", "6e11b57214b9cf711b4b73e964253f6c"], ["refresh_token", "93221c22eeeaf636a78ec0b9b6913c5c"], ["instance_url", "http://carroll.co/sid_ondricka"], ["created_at", "2019-05-24 16:27:27.893592"], ["updated_at", "2019-05-24 16:27:27.893592"]]
1364
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1365
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1366
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1367
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1368
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1369
-  (0.0ms) SAVEPOINT active_record_2
1370
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1371
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1372
- Redirected to http://test.host/admin/salesforce/
1373
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
1374
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1375
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1376
-  (0.0ms) SAVEPOINT active_record_1
1377
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1378
-  (0.0ms) SAVEPOINT active_record_1
1379
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
1380
- Filter chain halted as #<Proc:0x000055f4df15dea0@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1381
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1382
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1383
-  (0.1ms) rollback transaction
1384
-  (0.0ms) begin transaction
1385
-  (0.0ms) commit transaction
1386
-  (0.0ms) begin transaction
1387
-  (0.0ms) SAVEPOINT active_record_1
1388
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1389
-  (0.1ms) SAVEPOINT active_record_1
1390
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1391
-  (0.0ms) rollback transaction
1392
-  (0.0ms) begin transaction
1393
-  (0.0ms) commit transaction
1394
-  (0.0ms) begin transaction
1395
-  (0.0ms) SAVEPOINT active_record_1
1396
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1397
-  (0.0ms) SAVEPOINT active_record_1
1398
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1399
-  (0.0ms) SAVEPOINT active_record_1
1400
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1401
-  (0.0ms) SAVEPOINT active_record_1
1402
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1403
-  (0.0ms) SAVEPOINT active_record_1
1404
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1405
-  (0.0ms) SAVEPOINT active_record_1
1406
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1407
-  (0.0ms) SAVEPOINT active_record_1
1408
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1409
-  (0.0ms) SAVEPOINT active_record_1
1410
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1411
-  (0.0ms) SAVEPOINT active_record_1
1412
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1413
-  (0.0ms) SAVEPOINT active_record_1
1414
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1415
-  (0.0ms) SAVEPOINT active_record_1
1416
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1417
-  (0.0ms) SAVEPOINT active_record_1
1418
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1419
-  (0.0ms) SAVEPOINT active_record_1
1420
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1421
-  (0.0ms) SAVEPOINT active_record_1
1422
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1423
-  (0.0ms) SAVEPOINT active_record_1
1424
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1425
-  (0.0ms) SAVEPOINT active_record_1
1426
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1427
-  (0.0ms) SAVEPOINT active_record_1
1428
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1429
-  (0.0ms) SAVEPOINT active_record_1
1430
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1431
-  (0.0ms) SAVEPOINT active_record_1
1432
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1433
-  (0.2ms) SAVEPOINT active_record_1
1434
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1435
-  (0.0ms) SAVEPOINT active_record_1
1436
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1437
-  (0.0ms) SAVEPOINT active_record_1
1438
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1439
-  (0.0ms) rollback transaction
1440
-  (0.0ms) begin transaction
1441
-  (0.0ms) commit transaction
1442
-  (0.0ms) begin transaction
1443
-  (0.0ms) SAVEPOINT active_record_1
1444
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1445
-  (0.0ms) SAVEPOINT active_record_1
1446
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1447
-  (0.0ms) rollback transaction
1448
-  (0.0ms) begin transaction
1449
-  (0.0ms) commit transaction
1450
-  (0.0ms) begin transaction
1451
-  (0.0ms) SAVEPOINT active_record_1
1452
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1453
-  (0.0ms) SAVEPOINT active_record_1
1454
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1455
-  (0.1ms) SAVEPOINT active_record_1
1456
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1457
-  (0.0ms) SAVEPOINT active_record_1
1458
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1459
-  (0.0ms) SAVEPOINT active_record_1
1460
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1461
-  (0.0ms) SAVEPOINT active_record_1
1462
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1463
-  (0.0ms) rollback transaction
1464
-  (0.0ms) begin transaction
1465
-  (0.0ms) commit transaction
1466
-  (0.0ms) begin transaction
1467
-  (0.0ms) SAVEPOINT active_record_1
1468
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1469
-  (0.0ms) SAVEPOINT active_record_1
1470
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1471
-  (0.0ms) rollback transaction
1472
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1473
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1474
-  (0.0ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
1475
-  (0.0ms) SELECT sqlite_version(*)
1476
-  (16.0ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)
1477
-  (17.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1478
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1479
-  (16.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1480
-  (11.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1481
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1482
-  (0.0ms) begin transaction
1483
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-24 16:27:38.642219"], ["updated_at", "2019-05-24 16:27:38.642219"]]
1484
-  (12.1ms) commit transaction
1485
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1486
-  (0.0ms) begin transaction
1487
-  (0.0ms) commit transaction
1488
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1489
-  (0.1ms) PRAGMA foreign_keys
1490
-  (0.0ms) PRAGMA foreign_keys = OFF
1491
-  (14.6ms) DELETE FROM "openstax_salesforce_users";
1492
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1493
-  (0.0ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1494
-  (10.0ms) DELETE FROM "ar_internal_metadata";
1495
-  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1496
-  (0.0ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1497
-  (0.0ms) PRAGMA foreign_keys = 1
1498
-  (0.0ms) begin transaction
1499
-  (0.0ms) commit transaction
1500
-  (0.0ms) begin transaction
1501
-  (0.0ms) SAVEPOINT active_record_1
1502
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1503
-  (0.0ms) SAVEPOINT active_record_1
1504
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1505
-  (0.0ms) rollback transaction
1506
-  (0.0ms) begin transaction
1507
-  (0.0ms) commit transaction
1508
-  (0.0ms) begin transaction
1509
-  (0.0ms) SAVEPOINT active_record_1
1510
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1511
-  (0.0ms) SAVEPOINT active_record_1
1512
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1513
- Filter chain halted as #<Proc:0x0000564453ea6378@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1514
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1515
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1516
-  (0.0ms) SAVEPOINT active_record_1
1517
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1518
-  (0.0ms) SAVEPOINT active_record_1
1519
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1520
- Rendering text template
1521
- Rendered text template (0.0ms)
1522
- Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1523
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1524
-  (0.0ms) rollback transaction
1525
-  (0.0ms) begin transaction
1526
-  (0.0ms) commit transaction
1527
-  (0.0ms) begin transaction
1528
-  (0.0ms) SAVEPOINT active_record_1
1529
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1530
-  (0.0ms) SAVEPOINT active_record_1
1531
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1532
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1533
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1534
-  (0.0ms) SAVEPOINT active_record_2
1535
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 16:27:39.591368"], ["updated_at", "2019-05-24 16:27:39.591368"]]
1536
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1537
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1538
- Redirected to http://:/admin/salesforce/
1539
- Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
1540
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1541
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1542
-  (0.0ms) SAVEPOINT active_record_1
1543
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1544
-  (0.0ms) SAVEPOINT active_record_1
1545
-  (0.0ms) SAVEPOINT active_record_2
1546
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Mr. Leonila Vandervort"], ["uid", "f05d02776d81e85b4709"], ["oauth_token", "b658ce62db09e65ed3f7af5642ff9490"], ["refresh_token", "32f09d6bd5f110297ba883d93104b995"], ["instance_url", "http://gleason.biz/courtney"], ["created_at", "2019-05-24 16:27:39.938283"], ["updated_at", "2019-05-24 16:27:39.938283"]]
1547
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1548
-  (0.1ms) SAVEPOINT active_record_2
1549
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Felix Hettinger"], ["uid", "4ffa87d2f4819512a06d"], ["oauth_token", "88a945df991d7ada5f20a8c29763eb80"], ["refresh_token", "7dd7d8b27018b8484c0487d88f834bc6"], ["instance_url", "http://borerschinner.org/pamula.gerlach"], ["created_at", "2019-05-24 16:27:39.940769"], ["updated_at", "2019-05-24 16:27:39.940769"]]
1550
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1551
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1552
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1553
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1554
-  (0.0ms) SAVEPOINT active_record_2
1555
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 16:27:39.943985"], ["updated_at", "2019-05-24 16:27:39.943985"]]
1556
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 3]]
1557
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1558
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
1559
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1560
- Redirected to http://:/admin/salesforce/
1561
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1562
-  (0.5ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1563
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1564
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1565
-  (0.0ms) SAVEPOINT active_record_1
1566
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1567
-  (0.0ms) SAVEPOINT active_record_1
1568
-  (0.0ms) SAVEPOINT active_record_2
1569
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Hilaria Kemmer"], ["uid", "someuid"], ["oauth_token", "b7cdd4263e4beb203e14d0038d792385"], ["refresh_token", "e5aebaf3a46721eacaa49ee28f7b3edc"], ["instance_url", "http://dickicruickshank.com/denis"], ["created_at", "2019-05-24 16:27:39.949603"], ["updated_at", "2019-05-24 16:27:39.949603"]]
1570
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1571
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1572
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1573
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1574
-  (0.0ms) SAVEPOINT active_record_2
1575
- OpenStax::Salesforce::User Update (0.0ms) UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2019-05-24 16:27:39.951738"], ["id", 1]]
1576
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1577
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1578
- Redirected to http://:/admin/salesforce/
1579
- Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
1580
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1581
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1582
-  (0.0ms) SAVEPOINT active_record_1
1583
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1584
-  (0.0ms) SAVEPOINT active_record_1
1585
-  (0.7ms) SAVEPOINT active_record_2
1586
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Darron Sporer"], ["uid", "99aa6380923ebb3835a5"], ["oauth_token", "ed8ecdaba7cfdaaef09bd3c0732f6ff0"], ["refresh_token", "3e49c76310bdd85e65625d7259e28b80"], ["instance_url", "http://lubowitzondricka.biz/miquel"], ["created_at", "2019-05-24 16:27:39.957675"], ["updated_at", "2019-05-24 16:27:39.957675"]]
1587
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1588
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1589
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1590
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1591
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1592
-  (0.0ms) SAVEPOINT active_record_2
1593
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1594
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1595
- Redirected to http://test.host/admin/salesforce/
1596
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
1597
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1598
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1599
-  (0.0ms) SAVEPOINT active_record_1
1600
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1601
-  (0.0ms) SAVEPOINT active_record_1
1602
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
1603
- Filter chain halted as #<Proc:0x0000564453ea6378@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1604
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1605
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1606
-  (0.1ms) rollback transaction
1607
-  (0.0ms) begin transaction
1608
-  (0.0ms) commit transaction
1609
-  (0.0ms) begin transaction
1610
-  (0.0ms) SAVEPOINT active_record_1
1611
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1612
-  (0.0ms) SAVEPOINT active_record_1
1613
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1614
-  (0.0ms) rollback transaction
1615
-  (0.0ms) begin transaction
1616
-  (0.0ms) commit transaction
1617
-  (0.0ms) begin transaction
1618
-  (0.0ms) SAVEPOINT active_record_1
1619
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1620
-  (0.0ms) SAVEPOINT active_record_1
1621
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1622
-  (0.0ms) SAVEPOINT active_record_1
1623
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1624
-  (0.0ms) SAVEPOINT active_record_1
1625
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1626
-  (0.0ms) SAVEPOINT active_record_1
1627
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1628
-  (0.0ms) SAVEPOINT active_record_1
1629
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1630
-  (0.0ms) SAVEPOINT active_record_1
1631
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1632
-  (0.0ms) SAVEPOINT active_record_1
1633
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1634
-  (0.0ms) SAVEPOINT active_record_1
1635
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1636
-  (0.0ms) SAVEPOINT active_record_1
1637
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1638
-  (0.0ms) SAVEPOINT active_record_1
1639
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1640
-  (0.0ms) SAVEPOINT active_record_1
1641
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1642
-  (0.0ms) SAVEPOINT active_record_1
1643
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1644
-  (0.0ms) SAVEPOINT active_record_1
1645
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1646
-  (0.0ms) SAVEPOINT active_record_1
1647
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1648
-  (0.0ms) SAVEPOINT active_record_1
1649
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1650
-  (0.0ms) SAVEPOINT active_record_1
1651
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1652
-  (0.0ms) SAVEPOINT active_record_1
1653
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1654
-  (0.0ms) SAVEPOINT active_record_1
1655
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1656
-  (0.0ms) SAVEPOINT active_record_1
1657
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1658
-  (0.0ms) SAVEPOINT active_record_1
1659
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1660
-  (0.0ms) SAVEPOINT active_record_1
1661
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1662
-  (0.0ms) rollback transaction
1663
-  (0.0ms) begin transaction
1664
-  (0.0ms) commit transaction
1665
-  (0.0ms) begin transaction
1666
-  (0.0ms) SAVEPOINT active_record_1
1667
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1668
-  (0.0ms) SAVEPOINT active_record_1
1669
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1670
-  (0.0ms) rollback transaction
1671
-  (0.0ms) begin transaction
1672
-  (0.0ms) commit transaction
1673
-  (0.0ms) begin transaction
1674
-  (0.0ms) SAVEPOINT active_record_1
1675
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1676
-  (0.0ms) SAVEPOINT active_record_1
1677
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1678
-  (0.0ms) SAVEPOINT active_record_1
1679
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1680
-  (0.0ms) SAVEPOINT active_record_1
1681
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1682
-  (0.0ms) SAVEPOINT active_record_1
1683
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1684
-  (0.0ms) SAVEPOINT active_record_1
1685
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1686
-  (0.0ms) rollback transaction
1687
-  (0.0ms) begin transaction
1688
-  (0.0ms) commit transaction
1689
-  (0.2ms) begin transaction
1690
-  (0.0ms) SAVEPOINT active_record_1
1691
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1692
-  (0.0ms) SAVEPOINT active_record_1
1693
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1694
-  (0.0ms) rollback transaction
1695
-  (0.0ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
1696
-  (0.0ms) SELECT sqlite_version(*)
1697
-  (15.5ms) CREATE TABLE "openstax_salesforce_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "uid" varchar NOT NULL, "oauth_token" varchar NOT NULL, "refresh_token" varchar NOT NULL, "instance_url" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1698
-  (16.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1699
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1700
-  (10.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1701
-  (11.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1702
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1703
-  (0.1ms) begin transaction
1704
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-24 16:48:27.058670"], ["updated_at", "2019-05-24 16:48:27.058670"]]
1705
-  (11.1ms) commit transaction
1706
- ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1707
-  (0.0ms) begin transaction
1708
-  (0.0ms) commit transaction
1709
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1710
-  (0.0ms) PRAGMA foreign_keys
1711
-  (0.0ms) PRAGMA foreign_keys = OFF
1712
-  (14.6ms) DELETE FROM "openstax_salesforce_users";
1713
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1714
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1715
-  (9.6ms) DELETE FROM "ar_internal_metadata";
1716
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1717
-  (0.0ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1718
-  (0.0ms) PRAGMA foreign_keys = 1
1719
-  (0.0ms) begin transaction
1720
-  (0.0ms) commit transaction
1721
-  (0.0ms) begin transaction
1722
-  (0.0ms) SAVEPOINT active_record_1
1723
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1724
-  (0.0ms) SAVEPOINT active_record_1
1725
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1726
-  (0.0ms) rollback transaction
1727
-  (0.0ms) begin transaction
1728
-  (0.0ms) commit transaction
1729
-  (0.0ms) begin transaction
1730
-  (0.0ms) SAVEPOINT active_record_1
1731
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1732
-  (0.0ms) SAVEPOINT active_record_1
1733
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1734
- Filter chain halted as #<Proc:0x00005570fb8787c0@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1735
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1736
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1737
-  (0.0ms) SAVEPOINT active_record_1
1738
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1739
-  (0.0ms) SAVEPOINT active_record_1
1740
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1741
- Rendering text template
1742
- Rendered text template (0.0ms)
1743
- Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1744
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1745
-  (0.0ms) rollback transaction
1746
-  (0.0ms) begin transaction
1747
-  (0.0ms) commit transaction
1748
-  (0.0ms) begin transaction
1749
-  (0.0ms) SAVEPOINT active_record_1
1750
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1751
-  (0.0ms) SAVEPOINT active_record_1
1752
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1753
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1754
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1755
-  (0.0ms) SAVEPOINT active_record_2
1756
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 16:48:28.054269"], ["updated_at", "2019-05-24 16:48:28.054269"]]
1757
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1758
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1759
- Redirected to http://:/admin/salesforce/
1760
- Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
1761
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1762
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1763
-  (0.0ms) SAVEPOINT active_record_1
1764
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1765
-  (0.0ms) SAVEPOINT active_record_1
1766
-  (0.0ms) SAVEPOINT active_record_2
1767
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Renaldo Schumm"], ["uid", "d2f45a204ec14a303e5c"], ["oauth_token", "3d75ec849544fbdfe8bd8a4ae375f3ae"], ["refresh_token", "831b33312b199964c4cc6944399d2989"], ["instance_url", "http://haag.org/gala"], ["created_at", "2019-05-24 16:48:28.438740"], ["updated_at", "2019-05-24 16:48:28.438740"]]
1768
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1769
-  (0.0ms) SAVEPOINT active_record_2
1770
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Berry Shanahan"], ["uid", "c4721c7b4eb7d84c5dd0"], ["oauth_token", "301ee683b67b67ab3e1d9e796d66e586"], ["refresh_token", "83a383d0aabe6277a3b04cbf4278e68b"], ["instance_url", "http://hellerwintheiser.info/dwight"], ["created_at", "2019-05-24 16:48:28.439904"], ["updated_at", "2019-05-24 16:48:28.439904"]]
1771
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1772
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1773
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1774
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1775
-  (0.0ms) SAVEPOINT active_record_2
1776
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Bobby Thomas"], ["uid", "someuid"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2019-05-24 16:48:28.442159"], ["updated_at", "2019-05-24 16:48:28.442159"]]
1777
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 3]]
1778
- OpenStax::Salesforce::User Destroy (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1779
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
1780
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1781
- Redirected to http://:/admin/salesforce/
1782
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1783
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1784
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1785
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1786
-  (0.0ms) SAVEPOINT active_record_1
1787
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1788
-  (0.0ms) SAVEPOINT active_record_1
1789
-  (0.1ms) SAVEPOINT active_record_2
1790
- OpenStax::Salesforce::User Create (0.1ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Mr. Alda Murazik"], ["uid", "someuid"], ["oauth_token", "5a736afed9d94a72873588a77b8be2b1"], ["refresh_token", "1f2e281e61536ca3a3ef7c416423cf58"], ["instance_url", "http://casperritchie.net/jeanette_carroll"], ["created_at", "2019-05-24 16:48:28.446444"], ["updated_at", "2019-05-24 16:48:28.446444"]]
1791
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1792
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1793
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1794
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT ? [["uid", "someuid"], ["LIMIT", 1]]
1795
-  (0.0ms) SAVEPOINT active_record_2
1796
- OpenStax::Salesforce::User Update (0.0ms) UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2019-05-24 16:48:28.448093"], ["id", 1]]
1797
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1798
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1799
- Redirected to http://:/admin/salesforce/
1800
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
1801
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1802
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1803
-  (0.0ms) SAVEPOINT active_record_1
1804
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1805
-  (0.0ms) SAVEPOINT active_record_1
1806
-  (0.0ms) SAVEPOINT active_record_2
1807
- OpenStax::Salesforce::User Create (0.0ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Donella Shanahan"], ["uid", "6b1a49cef0681c0c880f"], ["oauth_token", "938772f7fa55b218c4112818aad6106e"], ["refresh_token", "87ddbe8c78248be06277161c55abf809"], ["instance_url", "http://pouros.info/anisha"], ["created_at", "2019-05-24 16:48:28.450857"], ["updated_at", "2019-05-24 16:48:28.450857"]]
1808
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1809
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1810
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1811
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1812
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1813
-  (0.0ms) SAVEPOINT active_record_2
1814
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1815
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1816
- Redirected to http://test.host/admin/salesforce/
1817
- Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
1818
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1819
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1820
-  (0.0ms) SAVEPOINT active_record_1
1821
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1822
-  (0.0ms) SAVEPOINT active_record_1
1823
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
1824
- Filter chain halted as #<Proc:0x00005570fb8787c0@/home/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1825
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1826
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1827
-  (0.1ms) rollback transaction
1828
-  (0.0ms) begin transaction
1829
-  (0.0ms) commit transaction
1830
-  (0.0ms) begin transaction
1831
-  (0.0ms) SAVEPOINT active_record_1
1832
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1833
-  (0.0ms) SAVEPOINT active_record_1
1834
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1835
-  (0.0ms) rollback transaction
1836
-  (0.0ms) begin transaction
1837
-  (0.0ms) commit transaction
1838
-  (0.0ms) begin transaction
1839
-  (0.0ms) SAVEPOINT active_record_1
1840
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1841
-  (0.0ms) SAVEPOINT active_record_1
1842
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1843
-  (0.0ms) SAVEPOINT active_record_1
1844
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1845
-  (0.0ms) SAVEPOINT active_record_1
1846
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1847
-  (0.0ms) SAVEPOINT active_record_1
1848
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1849
-  (0.0ms) SAVEPOINT active_record_1
1850
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1851
-  (0.0ms) SAVEPOINT active_record_1
1852
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1853
-  (0.0ms) SAVEPOINT active_record_1
1854
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1855
-  (0.0ms) SAVEPOINT active_record_1
1856
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1857
-  (0.0ms) SAVEPOINT active_record_1
1858
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1859
-  (0.0ms) SAVEPOINT active_record_1
1860
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1861
-  (0.0ms) SAVEPOINT active_record_1
1862
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1863
-  (0.0ms) SAVEPOINT active_record_1
1864
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1865
-  (0.0ms) SAVEPOINT active_record_1
1866
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1867
-  (0.0ms) SAVEPOINT active_record_1
1868
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1869
-  (0.0ms) SAVEPOINT active_record_1
1870
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1871
-  (0.0ms) SAVEPOINT active_record_1
1872
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1873
-  (0.0ms) SAVEPOINT active_record_1
1874
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1875
-  (0.0ms) SAVEPOINT active_record_1
1876
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1877
-  (0.0ms) SAVEPOINT active_record_1
1878
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1879
-  (0.0ms) SAVEPOINT active_record_1
1880
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1881
-  (0.0ms) SAVEPOINT active_record_1
1882
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1883
-  (0.0ms) rollback transaction
1884
-  (0.0ms) begin transaction
1885
-  (0.0ms) commit transaction
1886
-  (0.0ms) begin transaction
1887
-  (0.0ms) SAVEPOINT active_record_1
1888
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1889
-  (0.0ms) SAVEPOINT active_record_1
1890
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1891
-  (0.0ms) rollback transaction
1892
-  (0.1ms) begin transaction
1893
-  (0.0ms) commit transaction
1894
-  (0.0ms) begin transaction
1895
-  (0.0ms) SAVEPOINT active_record_1
1896
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1897
-  (0.0ms) SAVEPOINT active_record_1
1898
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1899
-  (0.0ms) SAVEPOINT active_record_1
1900
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1901
-  (0.0ms) SAVEPOINT active_record_1
1902
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1903
-  (0.0ms) SAVEPOINT active_record_1
1904
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1905
-  (0.0ms) SAVEPOINT active_record_1
1906
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1907
-  (0.0ms) rollback transaction
1908
-  (0.0ms) begin transaction
1909
-  (0.0ms) commit transaction
1910
-  (0.0ms) begin transaction
1911
-  (0.0ms) SAVEPOINT active_record_1
1912
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1913
-  (0.0ms) SAVEPOINT active_record_1
1914
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1915
-  (0.0ms) rollback transaction