openstax_salesforce 3.1.0 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) 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/opportunity.rb +0 -2
  13. data/lib/openstax/salesforce/remote/school.rb +5 -1
  14. data/lib/openstax/salesforce/remote/term_year.rb +0 -2
  15. data/lib/openstax/salesforce/remote/tutor_course_period.rb +0 -2
  16. data/lib/openstax/salesforce/spec_helpers.rb +142 -26
  17. data/lib/openstax/salesforce/version.rb +1 -1
  18. data/lib/openstax_salesforce.rb +13 -29
  19. data/lib/tasks/openstax_salesforce_tasks.rake +1 -26
  20. metadata +15 -182
  21. data/app/controllers/openstax/salesforce/application_controller.rb +0 -7
  22. data/app/controllers/openstax/salesforce/settings_controller.rb +0 -20
  23. data/app/helpers/openstax/salesforce/application_helper.rb +0 -11
  24. data/app/models/openstax/salesforce/user.rb +0 -31
  25. data/app/views/openstax/salesforce/settings/show.html.erb +0 -33
  26. data/config/initializers/omniauth.rb +0 -8
  27. data/config/routes.rb +0 -11
  28. data/lib/openstax/salesforce/spec_helpers/salesforce_proxy.rb +0 -121
  29. data/lib/openstax/salesforce/user_missing.rb +0 -3
  30. data/spec/client_spec.rb +0 -10
  31. data/spec/dummy/README.md +0 -28
  32. data/spec/dummy/Rakefile +0 -6
  33. data/spec/dummy/app/assets/javascripts/application.js +0 -13
  34. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  35. data/spec/dummy/app/controllers/application_controller.rb +0 -5
  36. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  37. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  38. data/spec/dummy/bin/bundle +0 -3
  39. data/spec/dummy/bin/rails +0 -4
  40. data/spec/dummy/bin/rake +0 -4
  41. data/spec/dummy/bin/setup +0 -29
  42. data/spec/dummy/config.ru +0 -4
  43. data/spec/dummy/config/application.rb +0 -25
  44. data/spec/dummy/config/boot.rb +0 -5
  45. data/spec/dummy/config/database.yml +0 -25
  46. data/spec/dummy/config/environment.rb +0 -5
  47. data/spec/dummy/config/environments/development.rb +0 -41
  48. data/spec/dummy/config/environments/production.rb +0 -79
  49. data/spec/dummy/config/environments/test.rb +0 -42
  50. data/spec/dummy/config/initializers/assets.rb +0 -11
  51. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  52. data/spec/dummy/config/initializers/cookies_serializer.rb +0 -3
  53. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  54. data/spec/dummy/config/initializers/inflections.rb +0 -16
  55. data/spec/dummy/config/initializers/mime_types.rb +0 -4
  56. data/spec/dummy/config/initializers/session_store.rb +0 -3
  57. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  58. data/spec/dummy/config/locales/en.yml +0 -23
  59. data/spec/dummy/config/routes.rb +0 -4
  60. data/spec/dummy/config/secrets.yml +0 -22
  61. data/spec/dummy/db/schema.rb +0 -25
  62. data/spec/dummy/db/test.sqlite3 +0 -0
  63. data/spec/dummy/log/test.log +0 -2673
  64. data/spec/dummy/public/404.html +0 -67
  65. data/spec/dummy/public/422.html +0 -67
  66. data/spec/dummy/public/500.html +0 -66
  67. data/spec/dummy/public/favicon.ico +0 -0
  68. data/spec/factories/user.rb +0 -17
  69. data/spec/openstax/salesforce/controllers/application_controller_spec.rb +0 -22
  70. data/spec/openstax/salesforce/controllers/settings_controller_spec.rb +0 -80
  71. data/spec/openstax/salesforce/remote/opportunity_spec.rb +0 -11
  72. data/spec/openstax/salesforce/remote/term_year_spec.rb +0 -81
  73. data/spec/openstax/salesforce/remote/tutor_course_period_spec.rb +0 -30
  74. data/spec/openstax/salesforce/spec_helpers_spec.rb +0 -31
  75. data/spec/rails_helper.rb +0 -99
  76. data/spec/routing_spec.rb +0 -9
  77. 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,2673 +0,0 @@
1
-  (1.6ms) 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) 
2
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
3
-  (0.3ms) select sqlite_version(*)
4
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.1ms) SELECT version FROM "schema_migrations"
6
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
7
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
-  (1.1ms) DELETE FROM "openstax_salesforce_users";
9
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
10
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
11
-  (0.0ms) begin transaction
12
-  (0.0ms) commit transaction
13
-  (0.0ms) begin transaction
14
-  (0.0ms) SAVEPOINT active_record_1
15
-  (0.0ms) RELEASE SAVEPOINT active_record_1
16
-  (0.0ms) SAVEPOINT active_record_1
17
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
18
-  (0.1ms) rollback transaction
19
-  (0.0ms) begin transaction
20
-  (0.0ms) commit transaction
21
-  (0.0ms) begin transaction
22
-  (0.1ms) SAVEPOINT active_record_1
23
-  (0.0ms) RELEASE SAVEPOINT active_record_1
24
-  (0.0ms) SAVEPOINT active_record_1
25
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
26
- Filter chain halted as #<Proc:0x007fe339111830@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
27
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
28
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
29
-  (0.0ms) SAVEPOINT active_record_1
30
-  (0.0ms) RELEASE SAVEPOINT active_record_1
31
-  (0.0ms) SAVEPOINT active_record_1
32
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
33
- Rendered text template (0.0ms)
34
- Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
35
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
36
-  (0.0ms) rollback transaction
37
-  (0.1ms) begin transaction
38
-  (0.0ms) commit transaction
39
-  (0.0ms) begin transaction
40
-  (0.0ms) SAVEPOINT active_record_1
41
-  (0.0ms) RELEASE SAVEPOINT active_record_1
42
-  (0.0ms) SAVEPOINT active_record_1
43
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
44
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
45
- OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
46
-  (0.0ms) SAVEPOINT active_record_2
47
- SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-01-10 19:35:38.994763"], ["updated_at", "2018-01-10 19:35:38.994763"]]
48
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
49
-  (0.0ms) RELEASE SAVEPOINT active_record_2
50
- Redirected to http://test.host/admin/salesforce/
51
- Completed 302 Found in 21ms (ActiveRecord: 0.8ms)
52
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
53
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
54
-  (0.0ms) SAVEPOINT active_record_1
55
-  (0.0ms) RELEASE SAVEPOINT active_record_1
56
-  (0.0ms) SAVEPOINT active_record_1
57
-  (0.1ms) SAVEPOINT active_record_2
58
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "986b0a6cd1fc53980a12"], ["name", "Ms. Ralph Hickle"], ["oauth_token", "a3cd9af382ec2089cfabf88b37d3806b"], ["refresh_token", "8ceb31ab22071c2880a94df64327dd5e"], ["instance_url", "http://rice.net/quinn"], ["created_at", "2018-01-10 19:35:39.440292"], ["updated_at", "2018-01-10 19:35:39.440292"]]
59
-  (0.0ms) RELEASE SAVEPOINT active_record_2
60
-  (0.0ms) SAVEPOINT active_record_2
61
- SQL (0.0ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "a4617e934c76c4cbc718"], ["name", "Miss Elsie Bartoletti"], ["oauth_token", "f87aa3ac290ea9dd8a3330bc93883ac4"], ["refresh_token", "6ef6cdf72e78851da75b476ecfca36d5"], ["instance_url", "http://homenickerdman.co/lenora"], ["created_at", "2018-01-10 19:35:39.442177"], ["updated_at", "2018-01-10 19:35:39.442177"]]
62
-  (0.0ms) RELEASE SAVEPOINT active_record_2
63
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
64
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
65
- 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 1 [["uid", "someuid"]]
66
-  (0.0ms) SAVEPOINT active_record_2
67
- SQL (0.0ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-01-10 19:35:39.447413"], ["updated_at", "2018-01-10 19:35:39.447413"]]
68
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
69
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
70
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
71
-  (0.0ms) RELEASE SAVEPOINT active_record_2
72
- Redirected to http://test.host/admin/salesforce/
73
- Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
74
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
75
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
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
- SQL (0.0ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Cary Kuhlman"], ["oauth_token", "002f70733aadab4f5cf445c8ce4693f2"], ["refresh_token", "d10944acac1b8566450c447b53bfc97a"], ["instance_url", "http://torp.name/bianka"], ["created_at", "2018-01-10 19:35:39.454981"], ["updated_at", "2018-01-10 19:35:39.454981"]]
82
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
83
-  (0.0ms) RELEASE SAVEPOINT active_record_2
84
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
85
- 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 1 [["uid", "someuid"]]
86
-  (0.0ms) SAVEPOINT active_record_2
87
- SQL (0.1ms) 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", "2018-01-10 19:35:39.460078"], ["id", 1]]
88
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
89
-  (0.0ms) RELEASE SAVEPOINT active_record_2
90
- Redirected to http://test.host/admin/salesforce/
91
- Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
92
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
93
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
94
-  (0.1ms) SAVEPOINT active_record_1
95
-  (0.1ms) RELEASE SAVEPOINT active_record_1
96
-  (0.0ms) SAVEPOINT active_record_1
97
-  (0.0ms) SAVEPOINT active_record_2
98
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "3591e1d3f174ec5ad18f"], ["name", "Peyton Balistreri"], ["oauth_token", "8443696c24aaa7ce923b8a10ccac4f27"], ["refresh_token", "344f805f644f6cb0046079104ccea140"], ["instance_url", "http://mccullough.io/theo_grady"], ["created_at", "2018-01-10 19:35:39.470433"], ["updated_at", "2018-01-10 19:35:39.470433"]]
99
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
100
-  (0.0ms) RELEASE SAVEPOINT active_record_2
101
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
102
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
103
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
104
-  (0.0ms) SAVEPOINT active_record_2
105
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
106
-  (0.0ms) RELEASE SAVEPOINT active_record_2
107
- Redirected to http://test.host/admin/salesforce/
108
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
109
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
110
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
111
-  (0.0ms) SAVEPOINT active_record_1
112
-  (0.0ms) RELEASE SAVEPOINT active_record_1
113
-  (0.0ms) SAVEPOINT active_record_1
114
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
115
- Filter chain halted as #<Proc:0x007fe339111830@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
116
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
117
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
118
-  (0.4ms) rollback transaction
119
-  (0.0ms) begin transaction
120
-  (0.0ms) commit transaction
121
-  (0.0ms) begin transaction
122
-  (0.0ms) SAVEPOINT active_record_1
123
-  (0.0ms) RELEASE SAVEPOINT active_record_1
124
-  (0.0ms) SAVEPOINT active_record_1
125
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
126
-  (0.0ms) rollback transaction
127
-  (0.0ms) begin transaction
128
-  (0.0ms) commit transaction
129
-  (0.0ms) begin transaction
130
-  (0.0ms) SAVEPOINT active_record_1
131
-  (0.0ms) RELEASE SAVEPOINT active_record_1
132
-  (0.0ms) SAVEPOINT active_record_1
133
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
134
-  (0.0ms) SAVEPOINT active_record_1
135
-  (0.0ms) RELEASE SAVEPOINT active_record_1
136
-  (0.0ms) SAVEPOINT active_record_1
137
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
138
-  (0.1ms) SAVEPOINT active_record_1
139
-  (0.1ms) RELEASE SAVEPOINT active_record_1
140
-  (0.0ms) SAVEPOINT active_record_1
141
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
142
-  (0.0ms) SAVEPOINT active_record_1
143
-  (0.0ms) RELEASE SAVEPOINT active_record_1
144
-  (0.0ms) SAVEPOINT active_record_1
145
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
146
-  (0.0ms) SAVEPOINT active_record_1
147
-  (0.0ms) RELEASE SAVEPOINT active_record_1
148
-  (0.0ms) SAVEPOINT active_record_1
149
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
150
-  (0.0ms) SAVEPOINT active_record_1
151
-  (0.0ms) RELEASE SAVEPOINT active_record_1
152
-  (0.1ms) SAVEPOINT active_record_1
153
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
154
-  (0.0ms) SAVEPOINT active_record_1
155
-  (0.0ms) RELEASE SAVEPOINT active_record_1
156
-  (0.0ms) SAVEPOINT active_record_1
157
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
158
-  (0.0ms) SAVEPOINT active_record_1
159
-  (0.0ms) RELEASE SAVEPOINT active_record_1
160
-  (0.0ms) SAVEPOINT active_record_1
161
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
162
-  (0.1ms) SAVEPOINT active_record_1
163
-  (0.0ms) RELEASE SAVEPOINT active_record_1
164
-  (0.0ms) SAVEPOINT active_record_1
165
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
166
-  (0.0ms) SAVEPOINT active_record_1
167
-  (0.1ms) RELEASE SAVEPOINT active_record_1
168
-  (0.0ms) SAVEPOINT active_record_1
169
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
170
-  (0.0ms) rollback transaction
171
-  (0.0ms) begin transaction
172
-  (0.0ms) commit transaction
173
-  (0.1ms) begin transaction
174
-  (0.0ms) SAVEPOINT active_record_1
175
-  (0.0ms) RELEASE SAVEPOINT active_record_1
176
-  (0.0ms) SAVEPOINT active_record_1
177
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
178
-  (0.0ms) SAVEPOINT active_record_1
179
-  (0.0ms) RELEASE SAVEPOINT active_record_1
180
-  (0.0ms) SAVEPOINT active_record_1
181
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
182
-  (0.0ms) SAVEPOINT active_record_1
183
-  (0.0ms) RELEASE SAVEPOINT active_record_1
184
-  (0.0ms) SAVEPOINT active_record_1
185
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
186
-  (0.0ms) SAVEPOINT active_record_1
187
-  (0.0ms) RELEASE SAVEPOINT active_record_1
188
-  (0.0ms) SAVEPOINT active_record_1
189
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
190
-  (0.0ms) SAVEPOINT active_record_1
191
-  (0.0ms) RELEASE SAVEPOINT active_record_1
192
-  (0.0ms) SAVEPOINT active_record_1
193
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
194
-  (0.0ms) SAVEPOINT active_record_1
195
-  (0.0ms) RELEASE SAVEPOINT active_record_1
196
-  (0.0ms) SAVEPOINT active_record_1
197
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
198
-  (0.0ms) SAVEPOINT active_record_1
199
-  (0.0ms) RELEASE SAVEPOINT active_record_1
200
-  (0.0ms) SAVEPOINT active_record_1
201
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
202
-  (0.0ms) SAVEPOINT active_record_1
203
-  (0.0ms) RELEASE SAVEPOINT active_record_1
204
-  (0.0ms) SAVEPOINT active_record_1
205
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
206
-  (0.0ms) SAVEPOINT active_record_1
207
-  (0.0ms) RELEASE SAVEPOINT active_record_1
208
-  (0.0ms) SAVEPOINT active_record_1
209
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
210
-  (0.0ms) SAVEPOINT active_record_1
211
-  (0.0ms) RELEASE SAVEPOINT active_record_1
212
-  (0.0ms) SAVEPOINT active_record_1
213
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
214
-  (0.0ms) SAVEPOINT active_record_1
215
-  (0.0ms) RELEASE SAVEPOINT active_record_1
216
-  (0.0ms) SAVEPOINT active_record_1
217
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
218
-  (0.1ms) rollback transaction
219
-  (0.0ms) begin transaction
220
-  (0.0ms) commit transaction
221
-  (0.0ms) begin transaction
222
-  (0.0ms) SAVEPOINT active_record_1
223
-  (0.0ms) RELEASE SAVEPOINT active_record_1
224
-  (0.0ms) SAVEPOINT active_record_1
225
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
226
-  (0.0ms) SAVEPOINT active_record_1
227
-  (0.0ms) RELEASE SAVEPOINT active_record_1
228
-  (0.0ms) SAVEPOINT active_record_1
229
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
230
-  (0.0ms) SAVEPOINT active_record_1
231
-  (0.0ms) RELEASE SAVEPOINT active_record_1
232
-  (0.0ms) SAVEPOINT active_record_1
233
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
234
-  (0.0ms) rollback transaction
235
-  (0.0ms) begin transaction
236
-  (0.0ms) commit transaction
237
-  (0.0ms) begin transaction
238
-  (0.0ms) SAVEPOINT active_record_1
239
-  (0.0ms) RELEASE SAVEPOINT active_record_1
240
-  (0.1ms) SAVEPOINT active_record_1
241
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
242
-  (0.0ms) rollback transaction
243
-  (1.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) 
244
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
245
-  (0.1ms) select sqlite_version(*)
246
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
247
-  (0.1ms) SELECT version FROM "schema_migrations"
248
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
249
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
250
-  (1.2ms) DELETE FROM "openstax_salesforce_users";
251
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
252
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
253
-  (0.0ms) begin transaction
254
-  (0.0ms) commit transaction
255
-  (0.0ms) begin transaction
256
-  (0.0ms) SAVEPOINT active_record_1
257
-  (0.0ms) RELEASE SAVEPOINT active_record_1
258
-  (0.0ms) SAVEPOINT active_record_1
259
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
260
-  (0.1ms) rollback transaction
261
-  (0.0ms) begin transaction
262
-  (0.0ms) commit transaction
263
-  (0.0ms) begin transaction
264
-  (0.0ms) SAVEPOINT active_record_1
265
-  (0.0ms) RELEASE SAVEPOINT active_record_1
266
-  (0.0ms) SAVEPOINT active_record_1
267
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
268
- Filter chain halted as #<Proc:0x00007ff1b8396a50@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
269
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
270
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
271
-  (0.0ms) SAVEPOINT active_record_1
272
-  (0.0ms) RELEASE SAVEPOINT active_record_1
273
-  (0.0ms) SAVEPOINT active_record_1
274
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
275
- Rendered text template (0.0ms)
276
- Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
277
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
278
-  (0.0ms) rollback transaction
279
-  (0.0ms) begin transaction
280
-  (0.0ms) commit transaction
281
-  (0.1ms) begin transaction
282
-  (0.0ms) SAVEPOINT active_record_1
283
-  (0.0ms) RELEASE SAVEPOINT active_record_1
284
-  (0.0ms) SAVEPOINT active_record_1
285
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
286
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
287
- 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 1 [["uid", "someuid"]]
288
-  (0.0ms) SAVEPOINT active_record_2
289
- SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-09-27 19:29:39.779945"], ["updated_at", "2018-09-27 19:29:39.779945"]]
290
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
291
-  (0.0ms) RELEASE SAVEPOINT active_record_2
292
- Redirected to http://test.host/admin/salesforce/
293
- Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
294
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
295
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
296
-  (0.1ms) SAVEPOINT active_record_1
297
-  (0.0ms) RELEASE SAVEPOINT active_record_1
298
-  (0.0ms) SAVEPOINT active_record_1
299
-  (0.1ms) SAVEPOINT active_record_2
300
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "70a92b15a0cb5a411338"], ["name", "Camylle Smitham IV"], ["oauth_token", "cee2ad7a991cfc8d2bfdee17d0b0946b"], ["refresh_token", "9c8d89a203e91c1a466975a72caca783"], ["instance_url", "http://swift.net/pierre"], ["created_at", "2018-09-27 19:29:40.394846"], ["updated_at", "2018-09-27 19:29:40.394846"]]
301
-  (0.0ms) RELEASE SAVEPOINT active_record_2
302
-  (0.0ms) SAVEPOINT active_record_2
303
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "36418cc061d4fbc1d9e8"], ["name", "Stephan Cummings"], ["oauth_token", "322833ab72c184029d2691e6ce302e17"], ["refresh_token", "d0fc50d670ba9f76e07b1700adb8a57f"], ["instance_url", "http://legros.biz/elvis"], ["created_at", "2018-09-27 19:29:40.397034"], ["updated_at", "2018-09-27 19:29:40.397034"]]
304
-  (0.0ms) RELEASE SAVEPOINT active_record_2
305
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
306
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
307
- 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 1 [["uid", "someuid"]]
308
-  (0.0ms) SAVEPOINT active_record_2
309
- SQL (0.0ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-09-27 19:29:40.402539"], ["updated_at", "2018-09-27 19:29:40.402539"]]
310
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
311
- SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
312
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
313
-  (0.0ms) RELEASE SAVEPOINT active_record_2
314
- Redirected to http://test.host/admin/salesforce/
315
- Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
316
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
317
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
318
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
319
-  (0.0ms) SAVEPOINT active_record_1
320
-  (0.0ms) RELEASE SAVEPOINT active_record_1
321
-  (0.0ms) SAVEPOINT active_record_1
322
-  (0.0ms) SAVEPOINT active_record_2
323
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Emmalee Cummerata Sr."], ["oauth_token", "095344b25accc71dd597d77d4543dd48"], ["refresh_token", "4121ad91feaec0329e219dc7183c373c"], ["instance_url", "http://schaeferheaney.com/carolyne_cummerata"], ["created_at", "2018-09-27 19:29:40.410920"], ["updated_at", "2018-09-27 19:29:40.410920"]]
324
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
325
-  (0.0ms) RELEASE SAVEPOINT active_record_2
326
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
327
- 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 1 [["uid", "someuid"]]
328
-  (0.0ms) SAVEPOINT active_record_2
329
- SQL (0.2ms) 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", "2018-09-27 19:29:40.420119"], ["id", 1]]
330
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
331
-  (0.0ms) RELEASE SAVEPOINT active_record_2
332
- Redirected to http://test.host/admin/salesforce/
333
- Completed 302 Found in 8ms (ActiveRecord: 0.4ms)
334
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 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) SAVEPOINT active_record_2
340
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "1545db3b163099a0d93e"], ["name", "Yasmeen Stroman"], ["oauth_token", "d8e3ef67ff219d3f1931c0b876f15876"], ["refresh_token", "3b25d17cc42fd65c92af27f8b03466ef"], ["instance_url", "http://wintheiser.name/laverna_moore"], ["created_at", "2018-09-27 19:29:40.431376"], ["updated_at", "2018-09-27 19:29:40.431376"]]
341
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
342
-  (0.0ms) RELEASE SAVEPOINT active_record_2
343
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
344
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
345
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
346
-  (0.0ms) SAVEPOINT active_record_2
347
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
348
-  (0.0ms) RELEASE SAVEPOINT active_record_2
349
- Redirected to http://test.host/admin/salesforce/
350
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
351
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
352
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
353
-  (0.0ms) SAVEPOINT active_record_1
354
-  (0.0ms) RELEASE SAVEPOINT active_record_1
355
-  (0.0ms) SAVEPOINT active_record_1
356
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
357
- Filter chain halted as #<Proc:0x00007ff1b8396a50@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
358
- Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)
359
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
360
-  (0.5ms) rollback transaction
361
-  (0.0ms) begin transaction
362
-  (0.1ms) commit transaction
363
-  (0.0ms) begin transaction
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) rollback transaction
369
-  (0.0ms) begin transaction
370
-  (0.0ms) commit transaction
371
-  (0.0ms) begin transaction
372
-  (0.0ms) SAVEPOINT active_record_1
373
-  (0.0ms) RELEASE SAVEPOINT active_record_1
374
-  (0.0ms) SAVEPOINT active_record_1
375
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
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) SAVEPOINT active_record_1
381
-  (0.1ms) RELEASE SAVEPOINT active_record_1
382
-  (0.0ms) SAVEPOINT active_record_1
383
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
384
-  (0.0ms) SAVEPOINT active_record_1
385
-  (0.0ms) RELEASE SAVEPOINT active_record_1
386
-  (0.1ms) SAVEPOINT active_record_1
387
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
388
-  (0.0ms) SAVEPOINT active_record_1
389
-  (0.0ms) RELEASE SAVEPOINT active_record_1
390
-  (0.0ms) SAVEPOINT active_record_1
391
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
392
-  (0.0ms) SAVEPOINT active_record_1
393
-  (0.0ms) RELEASE SAVEPOINT active_record_1
394
-  (0.0ms) SAVEPOINT active_record_1
395
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
396
-  (0.0ms) SAVEPOINT active_record_1
397
-  (0.0ms) RELEASE SAVEPOINT active_record_1
398
-  (0.0ms) SAVEPOINT active_record_1
399
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
400
-  (0.0ms) SAVEPOINT active_record_1
401
-  (0.0ms) RELEASE SAVEPOINT active_record_1
402
-  (0.0ms) SAVEPOINT active_record_1
403
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
404
-  (0.0ms) SAVEPOINT active_record_1
405
-  (0.0ms) RELEASE SAVEPOINT active_record_1
406
-  (0.0ms) SAVEPOINT active_record_1
407
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
408
-  (0.0ms) SAVEPOINT active_record_1
409
-  (0.0ms) RELEASE SAVEPOINT active_record_1
410
-  (0.0ms) SAVEPOINT active_record_1
411
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
412
-  (0.0ms) SAVEPOINT active_record_1
413
-  (0.0ms) RELEASE SAVEPOINT active_record_1
414
-  (0.0ms) SAVEPOINT active_record_1
415
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
416
-  (0.1ms) rollback transaction
417
-  (0.0ms) begin transaction
418
-  (0.0ms) commit transaction
419
-  (0.0ms) begin transaction
420
-  (0.0ms) SAVEPOINT active_record_1
421
-  (0.0ms) RELEASE SAVEPOINT active_record_1
422
-  (0.0ms) SAVEPOINT active_record_1
423
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
424
-  (0.0ms) rollback transaction
425
-  (0.0ms) begin transaction
426
-  (0.0ms) commit transaction
427
-  (0.0ms) begin transaction
428
-  (0.1ms) SAVEPOINT active_record_1
429
-  (0.0ms) RELEASE SAVEPOINT active_record_1
430
-  (0.0ms) SAVEPOINT active_record_1
431
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
432
-  (0.0ms) SAVEPOINT active_record_1
433
-  (0.0ms) RELEASE SAVEPOINT active_record_1
434
-  (0.0ms) SAVEPOINT active_record_1
435
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
436
-  (0.1ms) SAVEPOINT active_record_1
437
-  (0.0ms) RELEASE SAVEPOINT active_record_1
438
-  (0.0ms) SAVEPOINT active_record_1
439
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
440
-  (0.0ms) rollback transaction
441
-  (0.0ms) begin transaction
442
-  (0.0ms) commit transaction
443
-  (0.0ms) begin transaction
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) ROLLBACK TO SAVEPOINT active_record_1
448
-  (0.1ms) rollback transaction
449
-  (2.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) 
450
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
451
-  (0.1ms) select sqlite_version(*)
452
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
453
-  (0.1ms) SELECT version FROM "schema_migrations"
454
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
455
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
456
-  (1.7ms) DELETE FROM "openstax_salesforce_users";
457
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
458
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
459
-  (0.0ms) begin transaction
460
-  (0.0ms) commit transaction
461
-  (0.0ms) begin transaction
462
-  (0.0ms) SAVEPOINT active_record_1
463
-  (0.0ms) RELEASE SAVEPOINT active_record_1
464
-  (0.0ms) SAVEPOINT active_record_1
465
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
466
-  (0.0ms) rollback transaction
467
-  (0.0ms) begin transaction
468
-  (0.0ms) commit transaction
469
-  (0.0ms) begin transaction
470
-  (0.0ms) SAVEPOINT active_record_1
471
-  (0.0ms) RELEASE SAVEPOINT active_record_1
472
-  (0.0ms) SAVEPOINT active_record_1
473
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
474
- Filter chain halted as #<Proc:0x00007fdfaad2bd38@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
475
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
476
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
477
-  (0.0ms) SAVEPOINT active_record_1
478
-  (0.0ms) RELEASE SAVEPOINT active_record_1
479
-  (0.0ms) SAVEPOINT active_record_1
480
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
481
- Rendered text template (0.0ms)
482
- Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
483
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
484
-  (0.0ms) rollback transaction
485
-  (0.2ms) begin transaction
486
-  (0.0ms) commit transaction
487
-  (0.1ms) begin transaction
488
-  (0.1ms) SAVEPOINT active_record_1
489
-  (0.0ms) RELEASE SAVEPOINT active_record_1
490
-  (0.0ms) SAVEPOINT active_record_1
491
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
492
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
493
- OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
494
-  (0.0ms) SAVEPOINT active_record_2
495
- SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-09-27 19:40:16.991868"], ["updated_at", "2018-09-27 19:40:16.991868"]]
496
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
497
-  (0.0ms) RELEASE SAVEPOINT active_record_2
498
- Redirected to http://test.host/admin/salesforce/
499
- Completed 302 Found in 17ms (ActiveRecord: 0.7ms)
500
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
501
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
502
-  (0.0ms) SAVEPOINT active_record_1
503
-  (0.0ms) RELEASE SAVEPOINT active_record_1
504
-  (0.0ms) SAVEPOINT active_record_1
505
-  (0.0ms) SAVEPOINT active_record_2
506
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "08390bdd8534b0d7dc27"], ["name", "Onie Block"], ["oauth_token", "2526d769de7763787c78453e719c378a"], ["refresh_token", "076accba94b555a7fb354197f516b44d"], ["instance_url", "http://swift.co/katarina.douglas"], ["created_at", "2018-09-27 19:40:17.550268"], ["updated_at", "2018-09-27 19:40:17.550268"]]
507
-  (0.0ms) RELEASE SAVEPOINT active_record_2
508
-  (0.0ms) SAVEPOINT active_record_2
509
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "f37a0d163572c3a7423d"], ["name", "Samantha Friesen"], ["oauth_token", "866fb2c51601973d9820d8d80d6ec1da"], ["refresh_token", "8a40d0991e94a1e160ff0c538b896e73"], ["instance_url", "http://hoppe.co/nils"], ["created_at", "2018-09-27 19:40:17.552240"], ["updated_at", "2018-09-27 19:40:17.552240"]]
510
-  (0.0ms) RELEASE SAVEPOINT active_record_2
511
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
512
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
513
- 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 1 [["uid", "someuid"]]
514
-  (0.0ms) SAVEPOINT active_record_2
515
- SQL (0.0ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-09-27 19:40:17.558021"], ["updated_at", "2018-09-27 19:40:17.558021"]]
516
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 3]]
517
- SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
518
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
519
-  (0.0ms) RELEASE SAVEPOINT active_record_2
520
- Redirected to http://test.host/admin/salesforce/
521
- Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
522
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
523
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
524
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
525
-  (0.0ms) SAVEPOINT active_record_1
526
-  (0.0ms) RELEASE SAVEPOINT active_record_1
527
-  (0.0ms) SAVEPOINT active_record_1
528
-  (0.0ms) SAVEPOINT active_record_2
529
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Lincoln Reynolds"], ["oauth_token", "d3a6b02cb4971667c4ebc905fc5668f5"], ["refresh_token", "75c7a3b26fecaf0df4e381422031d9a0"], ["instance_url", "http://denesik.org/antonetta"], ["created_at", "2018-09-27 19:40:17.565084"], ["updated_at", "2018-09-27 19:40:17.565084"]]
530
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
531
-  (0.0ms) RELEASE SAVEPOINT active_record_2
532
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
533
- 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 1 [["uid", "someuid"]]
534
-  (0.0ms) SAVEPOINT active_record_2
535
- SQL (0.1ms) 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", "2018-09-27 19:40:17.569234"], ["id", 1]]
536
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
537
-  (0.0ms) RELEASE SAVEPOINT active_record_2
538
- Redirected to http://test.host/admin/salesforce/
539
- Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
540
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
541
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
542
-  (0.0ms) SAVEPOINT active_record_1
543
-  (0.0ms) RELEASE SAVEPOINT active_record_1
544
-  (0.0ms) SAVEPOINT active_record_1
545
-  (0.0ms) SAVEPOINT active_record_2
546
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "897bd4604b641e97736d"], ["name", "Freeda Bogan III"], ["oauth_token", "8f6adeb617c7b3955147e6bc2dea731c"], ["refresh_token", "b5cfd7ef514ac154ced56d63cd3de4d5"], ["instance_url", "http://nikolauslehner.net/brown"], ["created_at", "2018-09-27 19:40:17.576146"], ["updated_at", "2018-09-27 19:40:17.576146"]]
547
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
548
-  (0.0ms) RELEASE SAVEPOINT active_record_2
549
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
550
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
551
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
552
-  (0.0ms) SAVEPOINT active_record_2
553
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
554
-  (0.0ms) RELEASE SAVEPOINT active_record_2
555
- Redirected to http://test.host/admin/salesforce/
556
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
557
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
558
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
559
-  (0.0ms) SAVEPOINT active_record_1
560
-  (0.0ms) RELEASE SAVEPOINT active_record_1
561
-  (0.0ms) SAVEPOINT active_record_1
562
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
563
- Filter chain halted as #<Proc:0x00007fdfaad2bd38@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
564
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
565
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
566
-  (0.9ms) rollback transaction
567
-  (0.0ms) begin transaction
568
-  (0.1ms) commit transaction
569
-  (0.0ms) begin transaction
570
-  (0.0ms) SAVEPOINT active_record_1
571
-  (0.1ms) RELEASE SAVEPOINT active_record_1
572
-  (0.0ms) SAVEPOINT active_record_1
573
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
574
-  (0.0ms) rollback transaction
575
-  (0.0ms) begin transaction
576
-  (0.0ms) commit transaction
577
-  (0.0ms) begin transaction
578
-  (0.0ms) SAVEPOINT active_record_1
579
-  (0.0ms) RELEASE SAVEPOINT active_record_1
580
-  (0.0ms) SAVEPOINT active_record_1
581
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
582
-  (0.1ms) SAVEPOINT active_record_1
583
-  (0.0ms) RELEASE SAVEPOINT active_record_1
584
-  (0.0ms) SAVEPOINT active_record_1
585
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
586
-  (0.0ms) SAVEPOINT active_record_1
587
-  (0.0ms) RELEASE SAVEPOINT active_record_1
588
-  (0.0ms) SAVEPOINT active_record_1
589
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
590
-  (0.0ms) SAVEPOINT active_record_1
591
-  (0.0ms) RELEASE SAVEPOINT active_record_1
592
-  (0.0ms) SAVEPOINT active_record_1
593
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
594
-  (0.0ms) SAVEPOINT active_record_1
595
-  (0.1ms) RELEASE SAVEPOINT active_record_1
596
-  (0.0ms) SAVEPOINT active_record_1
597
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
598
-  (0.1ms) SAVEPOINT active_record_1
599
-  (0.0ms) RELEASE SAVEPOINT active_record_1
600
-  (0.0ms) SAVEPOINT active_record_1
601
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
602
-  (0.0ms) SAVEPOINT active_record_1
603
-  (0.0ms) RELEASE SAVEPOINT active_record_1
604
-  (0.0ms) SAVEPOINT active_record_1
605
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
606
-  (0.0ms) SAVEPOINT active_record_1
607
-  (0.0ms) RELEASE SAVEPOINT active_record_1
608
-  (0.0ms) SAVEPOINT active_record_1
609
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
610
-  (0.0ms) SAVEPOINT active_record_1
611
-  (0.0ms) RELEASE SAVEPOINT active_record_1
612
-  (0.0ms) SAVEPOINT active_record_1
613
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
614
-  (0.0ms) SAVEPOINT active_record_1
615
-  (0.0ms) RELEASE SAVEPOINT active_record_1
616
-  (0.0ms) SAVEPOINT active_record_1
617
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
618
-  (0.1ms) SAVEPOINT active_record_1
619
-  (0.0ms) RELEASE SAVEPOINT active_record_1
620
-  (0.0ms) SAVEPOINT active_record_1
621
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
622
-  (0.0ms) rollback transaction
623
-  (0.0ms) begin transaction
624
-  (0.0ms) commit transaction
625
-  (0.0ms) begin transaction
626
-  (0.0ms) SAVEPOINT active_record_1
627
-  (0.0ms) RELEASE SAVEPOINT active_record_1
628
-  (0.0ms) SAVEPOINT active_record_1
629
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
630
-  (0.0ms) rollback transaction
631
-  (0.0ms) begin transaction
632
-  (0.0ms) commit transaction
633
-  (0.0ms) begin transaction
634
-  (0.0ms) SAVEPOINT active_record_1
635
-  (0.0ms) RELEASE SAVEPOINT active_record_1
636
-  (0.0ms) SAVEPOINT active_record_1
637
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
638
-  (0.0ms) SAVEPOINT active_record_1
639
-  (0.0ms) RELEASE SAVEPOINT active_record_1
640
-  (0.1ms) SAVEPOINT active_record_1
641
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
642
-  (0.0ms) SAVEPOINT active_record_1
643
-  (0.0ms) RELEASE SAVEPOINT active_record_1
644
-  (0.0ms) SAVEPOINT active_record_1
645
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
646
-  (0.1ms) rollback transaction
647
-  (0.0ms) begin transaction
648
-  (0.0ms) commit transaction
649
-  (0.0ms) begin transaction
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) ROLLBACK TO SAVEPOINT active_record_1
654
-  (0.0ms) rollback transaction
655
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
656
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
657
-  (0.1ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
658
-  (0.1ms) SELECT sqlite_version(*)
659
-  (2.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)
660
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
661
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
662
-  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES (0)
663
-  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
664
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
665
-  (0.0ms) begin transaction
666
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-27 19:48:21.303085"], ["updated_at", "2018-09-27 19:48:21.303085"]]
667
-  (0.8ms) commit transaction
668
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
669
-  (0.0ms) begin transaction
670
-  (0.0ms) commit transaction
671
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
672
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
673
-  (0.1ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
674
-  (0.1ms) SELECT sqlite_version(*)
675
-  (1.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)
676
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
677
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
678
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
679
-  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
680
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
681
-  (0.0ms) begin transaction
682
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-27 19:48:37.337650"], ["updated_at", "2018-09-27 19:48:37.337650"]]
683
-  (0.9ms) commit transaction
684
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
685
-  (0.0ms) begin transaction
686
-  (0.0ms) commit transaction
687
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
688
-  (0.1ms) PRAGMA foreign_keys
689
-  (0.0ms) PRAGMA foreign_keys = OFF
690
-  (1.5ms) DELETE FROM "openstax_salesforce_users";
691
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
692
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
693
-  (1.5ms) DELETE FROM "ar_internal_metadata";
694
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
695
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
696
-  (0.1ms) PRAGMA foreign_keys = 1
697
-  (0.0ms) begin transaction
698
-  (0.1ms) commit transaction
699
-  (0.0ms) begin transaction
700
-  (0.1ms) SAVEPOINT active_record_1
701
-  (0.1ms) RELEASE SAVEPOINT active_record_1
702
-  (0.0ms) SAVEPOINT active_record_1
703
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
704
-  (0.1ms) rollback transaction
705
-  (0.0ms) begin transaction
706
-  (0.0ms) commit transaction
707
-  (0.0ms) begin transaction
708
-  (0.1ms) SAVEPOINT active_record_1
709
-  (0.0ms) RELEASE SAVEPOINT active_record_1
710
-  (0.0ms) SAVEPOINT active_record_1
711
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
712
- Filter chain halted as #<Proc:0x00007fbb8edc3dd0@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
713
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
714
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
715
-  (0.0ms) SAVEPOINT active_record_1
716
-  (0.1ms) RELEASE SAVEPOINT active_record_1
717
-  (0.0ms) SAVEPOINT active_record_1
718
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
719
- Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)
720
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
721
-  (0.0ms) rollback transaction
722
-  (0.0ms) begin transaction
723
-  (0.0ms) commit transaction
724
-  (0.0ms) begin transaction
725
-  (0.0ms) SAVEPOINT active_record_1
726
-  (0.0ms) RELEASE SAVEPOINT active_record_1
727
-  (0.0ms) SAVEPOINT active_record_1
728
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
729
-  (0.1ms) SAVEPOINT active_record_1
730
-  (0.0ms) RELEASE SAVEPOINT active_record_1
731
-  (0.0ms) SAVEPOINT active_record_1
732
-  (0.1ms) SAVEPOINT active_record_2
733
- OpenStax::Salesforce::User Create (0.5ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Aditya Stracke"], ["uid", "083a35b15066c64a2597"], ["oauth_token", "de30ca9b92436ed70fbd88199720fc47"], ["refresh_token", "e592bb14f3bd74541e090364668cf356"], ["instance_url", "http://howell.com/melia_shanahan"], ["created_at", "2018-09-27 19:48:40.285115"], ["updated_at", "2018-09-27 19:48:40.285115"]]
734
-  (0.0ms) RELEASE SAVEPOINT active_record_2
735
-  (0.0ms) SAVEPOINT active_record_2
736
- 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", "Jamar Bogisich"], ["uid", "7906c6c5d51e4331aafd"], ["oauth_token", "a13616e0ddd2fd7f6df37bd96dc93b55"], ["refresh_token", "9fba7763828863b9a7591d470660d4cf"], ["instance_url", "http://renner.name/jett"], ["created_at", "2018-09-27 19:48:40.287699"], ["updated_at", "2018-09-27 19:48:40.287699"]]
737
-  (0.0ms) RELEASE SAVEPOINT active_record_2
738
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
739
-  (0.0ms) SAVEPOINT active_record_1
740
-  (0.0ms) RELEASE SAVEPOINT active_record_1
741
-  (0.0ms) SAVEPOINT active_record_1
742
-  (0.0ms) SAVEPOINT active_record_2
743
- 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", "Bulah Lueilwitz PhD"], ["uid", "someuid"], ["oauth_token", "851e0e623c08524e9ee987cd1baa77d9"], ["refresh_token", "ac5547cedfd19c38667a2e1d1a751c13"], ["instance_url", "http://hettingerwill.co/william"], ["created_at", "2018-09-27 19:48:40.290883"], ["updated_at", "2018-09-27 19:48:40.290883"]]
744
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
745
-  (0.0ms) RELEASE SAVEPOINT active_record_2
746
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
747
-  (0.0ms) SAVEPOINT active_record_1
748
-  (0.0ms) RELEASE SAVEPOINT active_record_1
749
-  (0.0ms) SAVEPOINT active_record_1
750
-  (0.1ms) SAVEPOINT active_record_2
751
- 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", "Keenan Boehm MD"], ["uid", "27e0b817e647e48eeffb"], ["oauth_token", "0578339dc0255d9f070ca4877e5ff002"], ["refresh_token", "08403d3f51172c1bc3a0fab0a1eb13b8"], ["instance_url", "http://borer.co/nettie.howell"], ["created_at", "2018-09-27 19:48:40.295790"], ["updated_at", "2018-09-27 19:48:40.295790"]]
752
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
753
-  (0.0ms) RELEASE SAVEPOINT active_record_2
754
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
755
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
756
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
757
-  (0.0ms) SAVEPOINT active_record_2
758
- OpenStax::Salesforce::User Destroy (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
759
-  (0.0ms) RELEASE SAVEPOINT active_record_2
760
- Redirected to http://test.host/admin/salesforce/
761
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
762
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
763
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
764
-  (0.1ms) SAVEPOINT active_record_1
765
-  (0.1ms) RELEASE SAVEPOINT active_record_1
766
-  (0.0ms) SAVEPOINT active_record_1
767
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
768
- Filter chain halted as #<Proc:0x00007fbb8edc3dd0@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
769
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
770
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
771
-  (0.4ms) rollback transaction
772
-  (0.0ms) begin transaction
773
-  (0.0ms) commit transaction
774
-  (0.0ms) begin transaction
775
-  (0.0ms) SAVEPOINT active_record_1
776
-  (0.0ms) RELEASE SAVEPOINT active_record_1
777
-  (0.0ms) SAVEPOINT active_record_1
778
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
779
-  (0.1ms) rollback transaction
780
-  (0.0ms) begin transaction
781
-  (0.0ms) commit transaction
782
-  (0.0ms) begin transaction
783
-  (0.0ms) SAVEPOINT active_record_1
784
-  (0.0ms) RELEASE SAVEPOINT active_record_1
785
-  (0.0ms) SAVEPOINT active_record_1
786
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
787
-  (0.0ms) SAVEPOINT active_record_1
788
-  (0.0ms) RELEASE SAVEPOINT active_record_1
789
-  (0.0ms) SAVEPOINT active_record_1
790
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
791
-  (0.0ms) SAVEPOINT active_record_1
792
-  (0.0ms) RELEASE SAVEPOINT active_record_1
793
-  (0.0ms) SAVEPOINT active_record_1
794
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
795
-  (0.0ms) SAVEPOINT active_record_1
796
-  (0.0ms) RELEASE SAVEPOINT active_record_1
797
-  (0.0ms) SAVEPOINT active_record_1
798
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
799
-  (0.0ms) SAVEPOINT active_record_1
800
-  (0.0ms) RELEASE SAVEPOINT active_record_1
801
-  (0.0ms) SAVEPOINT active_record_1
802
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
803
-  (0.0ms) SAVEPOINT active_record_1
804
-  (0.0ms) RELEASE SAVEPOINT active_record_1
805
-  (0.0ms) SAVEPOINT active_record_1
806
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
807
-  (0.0ms) SAVEPOINT active_record_1
808
-  (0.0ms) RELEASE SAVEPOINT active_record_1
809
-  (0.0ms) SAVEPOINT active_record_1
810
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
811
-  (0.1ms) SAVEPOINT active_record_1
812
-  (0.0ms) RELEASE SAVEPOINT active_record_1
813
-  (0.0ms) SAVEPOINT active_record_1
814
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
815
-  (0.1ms) SAVEPOINT active_record_1
816
-  (0.0ms) RELEASE SAVEPOINT active_record_1
817
-  (0.0ms) SAVEPOINT active_record_1
818
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
819
-  (0.1ms) SAVEPOINT active_record_1
820
-  (0.0ms) RELEASE SAVEPOINT active_record_1
821
-  (0.0ms) SAVEPOINT active_record_1
822
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
823
-  (0.0ms) SAVEPOINT active_record_1
824
-  (0.0ms) RELEASE SAVEPOINT active_record_1
825
-  (0.0ms) SAVEPOINT active_record_1
826
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
827
-  (0.0ms) rollback transaction
828
-  (0.0ms) begin transaction
829
-  (0.0ms) commit transaction
830
-  (0.0ms) begin transaction
831
-  (0.0ms) SAVEPOINT active_record_1
832
-  (0.0ms) RELEASE SAVEPOINT active_record_1
833
-  (0.0ms) SAVEPOINT active_record_1
834
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
835
-  (0.0ms) rollback transaction
836
-  (0.0ms) begin transaction
837
-  (0.1ms) commit transaction
838
-  (0.0ms) begin transaction
839
-  (0.0ms) SAVEPOINT active_record_1
840
-  (0.0ms) RELEASE SAVEPOINT active_record_1
841
-  (0.0ms) SAVEPOINT active_record_1
842
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
843
-  (0.0ms) SAVEPOINT active_record_1
844
-  (0.0ms) RELEASE SAVEPOINT active_record_1
845
-  (0.0ms) SAVEPOINT active_record_1
846
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
847
-  (0.1ms) SAVEPOINT active_record_1
848
-  (0.1ms) RELEASE SAVEPOINT active_record_1
849
-  (0.1ms) SAVEPOINT active_record_1
850
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
851
-  (0.0ms) rollback transaction
852
-  (0.1ms) begin transaction
853
-  (0.0ms) commit transaction
854
-  (0.0ms) begin transaction
855
-  (0.1ms) SAVEPOINT active_record_1
856
-  (0.0ms) RELEASE SAVEPOINT active_record_1
857
-  (0.0ms) SAVEPOINT active_record_1
858
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
859
-  (0.1ms) rollback transaction
860
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
861
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
862
-  (0.1ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
863
-  (0.1ms) SELECT sqlite_version(*)
864
-  (1.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)
865
-  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
866
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
867
-  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES (0)
868
-  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
869
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
870
-  (0.0ms) begin transaction
871
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-27 19:52:43.456303"], ["updated_at", "2018-09-27 19:52:43.456303"]]
872
-  (0.8ms) commit transaction
873
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
874
-  (0.0ms) begin transaction
875
-  (0.1ms) commit transaction
876
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
877
-  (0.1ms) PRAGMA foreign_keys
878
-  (0.0ms) PRAGMA foreign_keys = OFF
879
-  (1.2ms) DELETE FROM "openstax_salesforce_users";
880
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
881
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
882
-  (1.1ms) DELETE FROM "ar_internal_metadata";
883
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
884
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
885
-  (0.0ms) PRAGMA foreign_keys = 1
886
-  (0.1ms) begin transaction
887
-  (0.0ms) commit transaction
888
-  (0.0ms) begin transaction
889
-  (0.1ms) SAVEPOINT active_record_1
890
-  (0.1ms) RELEASE SAVEPOINT active_record_1
891
-  (0.0ms) SAVEPOINT active_record_1
892
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
893
-  (0.1ms) rollback transaction
894
-  (0.0ms) begin transaction
895
-  (0.0ms) commit transaction
896
-  (0.0ms) begin transaction
897
-  (0.1ms) SAVEPOINT active_record_1
898
-  (0.0ms) RELEASE SAVEPOINT active_record_1
899
-  (0.0ms) SAVEPOINT active_record_1
900
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
901
- Filter chain halted as #<Proc:0x00007fec0eca5470@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
902
- Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)
903
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
904
-  (0.1ms) SAVEPOINT active_record_1
905
-  (0.1ms) RELEASE SAVEPOINT active_record_1
906
-  (0.0ms) SAVEPOINT active_record_1
907
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
908
- Rendering text template
909
- Rendered text template (0.0ms)
910
- Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
911
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
912
-  (0.0ms) rollback transaction
913
-  (0.0ms) begin transaction
914
-  (0.1ms) commit transaction
915
-  (0.0ms) begin transaction
916
-  (0.0ms) SAVEPOINT active_record_1
917
-  (0.0ms) RELEASE SAVEPOINT active_record_1
918
-  (0.0ms) SAVEPOINT active_record_1
919
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
920
-  (0.1ms) SAVEPOINT active_record_1
921
-  (0.1ms) RELEASE SAVEPOINT active_record_1
922
-  (0.0ms) SAVEPOINT active_record_1
923
-  (0.1ms) SAVEPOINT active_record_2
924
- OpenStax::Salesforce::User Create (0.4ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Ara Paucek"], ["uid", "e629f59dcf9d05ac8b5e"], ["oauth_token", "f161a73de20a5fbd428b4e3e185ac922"], ["refresh_token", "0295ada78eab82fdf8804ee17652db26"], ["instance_url", "http://dicki.io/twila"], ["created_at", "2018-09-27 19:52:46.445662"], ["updated_at", "2018-09-27 19:52:46.445662"]]
925
-  (0.0ms) RELEASE SAVEPOINT active_record_2
926
-  (0.0ms) SAVEPOINT active_record_2
927
- 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", "Marlon Rodriguez"], ["uid", "3b0b0a93032ced81c2b6"], ["oauth_token", "19df02865faadd1070fa45b6cb17d130"], ["refresh_token", "01649c5fc457b4d899933156b55ef1a0"], ["instance_url", "http://kuvalis.com/vaughn"], ["created_at", "2018-09-27 19:52:46.447962"], ["updated_at", "2018-09-27 19:52:46.447962"]]
928
-  (0.0ms) RELEASE SAVEPOINT active_record_2
929
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
930
-  (0.1ms) SAVEPOINT active_record_1
931
-  (0.0ms) RELEASE SAVEPOINT active_record_1
932
-  (0.0ms) SAVEPOINT active_record_1
933
-  (0.0ms) SAVEPOINT active_record_2
934
- 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", "Herta Macejkovic"], ["uid", "someuid"], ["oauth_token", "5cc11ee25263a8e1f2d881f31fea7621"], ["refresh_token", "936602ca9ccd23ed57d1bb1e31ce681b"], ["instance_url", "http://murray.info/rhiannon.torp"], ["created_at", "2018-09-27 19:52:46.451970"], ["updated_at", "2018-09-27 19:52:46.451970"]]
935
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
936
-  (0.0ms) RELEASE SAVEPOINT active_record_2
937
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
938
-  (0.0ms) SAVEPOINT active_record_1
939
-  (0.0ms) RELEASE SAVEPOINT active_record_1
940
-  (0.0ms) SAVEPOINT active_record_1
941
-  (0.1ms) SAVEPOINT active_record_2
942
- 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", "Billie Daniel"], ["uid", "c7c4bb5a4b5d3b4608d4"], ["oauth_token", "4787c8451d72ae4d91be28e31661299f"], ["refresh_token", "09023f32c1c090de4a314c529d76f22d"], ["instance_url", "http://bayer.com/bria.ankunding"], ["created_at", "2018-09-27 19:52:46.456524"], ["updated_at", "2018-09-27 19:52:46.456524"]]
943
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
944
-  (0.0ms) RELEASE SAVEPOINT active_record_2
945
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
946
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
947
- OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
948
-  (0.1ms) SAVEPOINT active_record_2
949
- OpenStax::Salesforce::User Destroy (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
950
-  (0.0ms) RELEASE SAVEPOINT active_record_2
951
- Redirected to http://test.host/admin/salesforce/
952
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
953
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
954
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
955
-  (0.1ms) SAVEPOINT active_record_1
956
-  (0.0ms) RELEASE SAVEPOINT active_record_1
957
-  (0.0ms) SAVEPOINT active_record_1
958
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
959
- Filter chain halted as #<Proc:0x00007fec0eca5470@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
960
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
961
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
962
-  (1.0ms) rollback transaction
963
-  (0.0ms) begin transaction
964
-  (0.0ms) commit transaction
965
-  (0.0ms) begin transaction
966
-  (0.0ms) SAVEPOINT active_record_1
967
-  (0.1ms) RELEASE SAVEPOINT active_record_1
968
-  (0.0ms) SAVEPOINT active_record_1
969
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
970
-  (0.0ms) rollback transaction
971
-  (0.0ms) begin transaction
972
-  (0.0ms) commit transaction
973
-  (0.0ms) begin transaction
974
-  (0.0ms) SAVEPOINT active_record_1
975
-  (0.1ms) RELEASE SAVEPOINT active_record_1
976
-  (0.0ms) SAVEPOINT active_record_1
977
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
978
-  (0.0ms) SAVEPOINT active_record_1
979
-  (0.0ms) RELEASE SAVEPOINT active_record_1
980
-  (0.0ms) SAVEPOINT active_record_1
981
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
982
-  (0.0ms) SAVEPOINT active_record_1
983
-  (0.0ms) RELEASE SAVEPOINT active_record_1
984
-  (0.0ms) SAVEPOINT active_record_1
985
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
986
-  (0.0ms) SAVEPOINT active_record_1
987
-  (0.0ms) RELEASE SAVEPOINT active_record_1
988
-  (0.0ms) SAVEPOINT active_record_1
989
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
990
-  (0.0ms) SAVEPOINT active_record_1
991
-  (0.0ms) RELEASE SAVEPOINT active_record_1
992
-  (0.0ms) SAVEPOINT active_record_1
993
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
994
-  (0.0ms) SAVEPOINT active_record_1
995
-  (0.0ms) RELEASE SAVEPOINT active_record_1
996
-  (0.0ms) SAVEPOINT active_record_1
997
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
998
-  (0.0ms) SAVEPOINT active_record_1
999
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1000
-  (0.0ms) SAVEPOINT active_record_1
1001
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1002
-  (0.0ms) SAVEPOINT active_record_1
1003
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1004
-  (0.0ms) SAVEPOINT active_record_1
1005
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1006
-  (0.1ms) SAVEPOINT active_record_1
1007
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1008
-  (0.1ms) SAVEPOINT active_record_1
1009
-  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
1010
-  (0.1ms) SAVEPOINT active_record_1
1011
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1012
-  (0.0ms) SAVEPOINT active_record_1
1013
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1014
-  (0.0ms) SAVEPOINT active_record_1
1015
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1016
-  (0.0ms) SAVEPOINT active_record_1
1017
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1018
-  (0.0ms) rollback transaction
1019
-  (0.0ms) begin transaction
1020
-  (0.0ms) commit transaction
1021
-  (0.1ms) begin transaction
1022
-  (0.0ms) SAVEPOINT active_record_1
1023
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1024
-  (0.0ms) SAVEPOINT active_record_1
1025
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1026
-  (0.0ms) rollback transaction
1027
-  (0.0ms) begin transaction
1028
-  (0.0ms) commit transaction
1029
-  (0.0ms) begin transaction
1030
-  (0.0ms) SAVEPOINT active_record_1
1031
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1032
-  (0.0ms) SAVEPOINT active_record_1
1033
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1034
-  (0.1ms) SAVEPOINT active_record_1
1035
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1036
-  (0.0ms) SAVEPOINT active_record_1
1037
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1038
-  (0.0ms) SAVEPOINT active_record_1
1039
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1040
-  (0.1ms) SAVEPOINT active_record_1
1041
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1042
-  (0.0ms) rollback transaction
1043
-  (0.0ms) begin transaction
1044
-  (0.0ms) commit transaction
1045
-  (0.0ms) begin transaction
1046
-  (0.0ms) SAVEPOINT active_record_1
1047
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1048
-  (0.0ms) SAVEPOINT active_record_1
1049
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1050
-  (0.0ms) rollback transaction
1051
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1052
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1053
-  (0.1ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
1054
-  (0.1ms) SELECT sqlite_version(*)
1055
-  (2.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)
1056
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1057
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1058
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1059
-  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1060
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1061
-  (0.0ms) begin transaction
1062
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-27 19:53:36.236310"], ["updated_at", "2018-09-27 19:53:36.236310"]]
1063
-  (1.2ms) commit transaction
1064
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1065
-  (0.1ms) begin transaction
1066
-  (0.0ms) commit transaction
1067
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1068
-  (0.2ms) PRAGMA foreign_keys
1069
-  (0.1ms) PRAGMA foreign_keys = OFF
1070
-  (4.0ms) DELETE FROM "openstax_salesforce_users";
1071
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1072
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1073
-  (1.1ms) DELETE FROM "ar_internal_metadata";
1074
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1075
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1076
-  (0.0ms) PRAGMA foreign_keys = 1
1077
-  (0.0ms) begin transaction
1078
-  (0.1ms) commit transaction
1079
-  (0.0ms) begin transaction
1080
-  (0.1ms) SAVEPOINT active_record_1
1081
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1082
-  (0.1ms) SAVEPOINT active_record_1
1083
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1084
-  (0.1ms) rollback transaction
1085
-  (0.1ms) begin transaction
1086
-  (0.0ms) commit transaction
1087
-  (0.0ms) begin transaction
1088
-  (0.1ms) SAVEPOINT active_record_1
1089
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1090
-  (0.1ms) SAVEPOINT active_record_1
1091
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1092
- Filter chain halted as #<Proc:0x00007fd96dd6b110@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1093
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1094
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1095
-  (0.1ms) SAVEPOINT active_record_1
1096
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1097
-  (0.0ms) SAVEPOINT active_record_1
1098
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1099
- Rendering text template
1100
- Rendered text template (0.1ms)
1101
- Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
1102
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1103
-  (0.0ms) rollback transaction
1104
-  (0.0ms) begin transaction
1105
-  (0.0ms) commit transaction
1106
-  (0.0ms) begin transaction
1107
-  (0.0ms) SAVEPOINT active_record_1
1108
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1109
-  (0.1ms) SAVEPOINT active_record_1
1110
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1111
-  (0.0ms) SAVEPOINT active_record_1
1112
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1113
-  (0.0ms) SAVEPOINT active_record_1
1114
-  (0.1ms) SAVEPOINT active_record_2
1115
- OpenStax::Salesforce::User Create (0.4ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Cleora Pfannerstill"], ["uid", "67b9249d57efa826b2fa"], ["oauth_token", "e80817ee3c779368fe349f54e30c53be"], ["refresh_token", "a0da9ec32aef7b5ea0fd749dd6bb118f"], ["instance_url", "http://hirthe.org/jasper.nader"], ["created_at", "2018-09-27 19:53:39.203562"], ["updated_at", "2018-09-27 19:53:39.203562"]]
1116
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1117
-  (0.0ms) SAVEPOINT active_record_2
1118
- 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", "Josefina Hintz"], ["uid", "c4594836c851455187b6"], ["oauth_token", "ac4ddcdeb8157b341b4e828ea395fb74"], ["refresh_token", "522ca9114f18bc342afedd773613d64e"], ["instance_url", "http://purdywiegand.io/jovan.hermiston"], ["created_at", "2018-09-27 19:53:39.205816"], ["updated_at", "2018-09-27 19:53:39.205816"]]
1119
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1120
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1121
-  (0.1ms) SAVEPOINT active_record_1
1122
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1123
-  (0.1ms) SAVEPOINT active_record_1
1124
-  (0.1ms) SAVEPOINT active_record_2
1125
- 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", "Garnet Hand"], ["uid", "someuid"], ["oauth_token", "82b6c4dad1d18e9c7bb0bb80a9a8d2f3"], ["refresh_token", "305e503d4fd82a90a3be7e3f6ba459a9"], ["instance_url", "http://kunde.biz/marvin.ward"], ["created_at", "2018-09-27 19:53:39.212915"], ["updated_at", "2018-09-27 19:53:39.212915"]]
1126
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1127
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1128
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1129
-  (0.0ms) SAVEPOINT active_record_1
1130
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1131
-  (0.0ms) SAVEPOINT active_record_1
1132
-  (0.0ms) SAVEPOINT active_record_2
1133
- 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", "Marlin Murray"], ["uid", "b9347f06de013779f8dd"], ["oauth_token", "1a73e5f445c2981ac8a16ec4485e5909"], ["refresh_token", "4da97ec2b858906ee9bb899b369045b2"], ["instance_url", "http://kerluke.info/kenya"], ["created_at", "2018-09-27 19:53:39.218589"], ["updated_at", "2018-09-27 19:53:39.218589"]]
1134
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1135
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1136
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1137
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1138
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1139
-  (0.0ms) SAVEPOINT active_record_2
1140
- OpenStax::Salesforce::User Destroy (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1141
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1142
- Redirected to http://test.host/admin/salesforce/
1143
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1144
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1145
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1146
-  (0.0ms) SAVEPOINT active_record_1
1147
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1148
-  (0.0ms) SAVEPOINT active_record_1
1149
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
1150
- Filter chain halted as #<Proc:0x00007fd96dd6b110@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1151
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1152
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1153
-  (1.0ms) rollback transaction
1154
-  (0.0ms) begin transaction
1155
-  (0.0ms) commit transaction
1156
-  (0.1ms) begin transaction
1157
-  (0.0ms) SAVEPOINT active_record_1
1158
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1159
-  (0.1ms) SAVEPOINT active_record_1
1160
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1161
-  (0.0ms) rollback transaction
1162
-  (0.0ms) begin transaction
1163
-  (0.1ms) commit transaction
1164
-  (0.0ms) begin transaction
1165
-  (0.1ms) SAVEPOINT active_record_1
1166
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1167
-  (0.0ms) SAVEPOINT active_record_1
1168
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1169
-  (0.0ms) SAVEPOINT active_record_1
1170
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1171
-  (0.0ms) SAVEPOINT active_record_1
1172
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1173
-  (0.0ms) SAVEPOINT active_record_1
1174
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1175
-  (0.0ms) SAVEPOINT active_record_1
1176
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1177
-  (0.1ms) SAVEPOINT active_record_1
1178
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1179
-  (0.0ms) SAVEPOINT active_record_1
1180
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1181
-  (0.1ms) SAVEPOINT active_record_1
1182
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1183
-  (0.0ms) SAVEPOINT active_record_1
1184
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1185
-  (0.0ms) SAVEPOINT active_record_1
1186
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1187
-  (0.0ms) SAVEPOINT active_record_1
1188
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1189
-  (0.0ms) SAVEPOINT active_record_1
1190
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1191
-  (0.0ms) SAVEPOINT active_record_1
1192
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1193
-  (0.1ms) SAVEPOINT active_record_1
1194
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1195
-  (0.0ms) SAVEPOINT active_record_1
1196
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1197
-  (0.0ms) SAVEPOINT active_record_1
1198
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1199
-  (0.0ms) SAVEPOINT active_record_1
1200
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1201
-  (0.0ms) SAVEPOINT active_record_1
1202
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1203
-  (0.0ms) SAVEPOINT active_record_1
1204
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1205
-  (0.0ms) SAVEPOINT active_record_1
1206
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1207
-  (0.2ms) SAVEPOINT active_record_1
1208
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1209
-  (0.1ms) rollback transaction
1210
-  (0.0ms) begin transaction
1211
-  (0.0ms) commit transaction
1212
-  (0.0ms) begin transaction
1213
-  (0.1ms) SAVEPOINT active_record_1
1214
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1215
-  (0.0ms) SAVEPOINT active_record_1
1216
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1217
-  (0.0ms) rollback transaction
1218
-  (0.0ms) begin transaction
1219
-  (0.0ms) commit transaction
1220
-  (0.0ms) begin transaction
1221
-  (0.1ms) SAVEPOINT active_record_1
1222
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1223
-  (0.0ms) SAVEPOINT active_record_1
1224
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1225
-  (0.0ms) SAVEPOINT active_record_1
1226
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1227
-  (0.0ms) SAVEPOINT active_record_1
1228
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1229
-  (0.0ms) SAVEPOINT active_record_1
1230
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1231
-  (0.0ms) SAVEPOINT active_record_1
1232
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1233
-  (0.0ms) rollback transaction
1234
-  (0.0ms) begin transaction
1235
-  (0.0ms) commit transaction
1236
-  (0.0ms) begin transaction
1237
-  (0.0ms) SAVEPOINT active_record_1
1238
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1239
-  (0.0ms) SAVEPOINT active_record_1
1240
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1241
-  (0.0ms) rollback transaction
1242
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1243
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1244
-  (0.1ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
1245
-  (0.1ms) SELECT sqlite_version(*)
1246
-  (2.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)
1247
-  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1248
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1249
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1250
-  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1251
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1252
-  (0.0ms) begin transaction
1253
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-27 19:54:21.199906"], ["updated_at", "2018-09-27 19:54:21.199906"]]
1254
-  (0.9ms) commit transaction
1255
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1256
-  (0.0ms) begin transaction
1257
-  (0.0ms) commit transaction
1258
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1259
-  (0.1ms) PRAGMA foreign_keys
1260
-  (0.1ms) PRAGMA foreign_keys = OFF
1261
-  (2.4ms) DELETE FROM "openstax_salesforce_users";
1262
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1263
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1264
-  (1.1ms) DELETE FROM "ar_internal_metadata";
1265
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1266
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1267
-  (0.1ms) PRAGMA foreign_keys = 1
1268
-  (0.0ms) begin transaction
1269
-  (0.0ms) commit transaction
1270
-  (0.0ms) begin transaction
1271
-  (0.0ms) SAVEPOINT active_record_1
1272
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1273
-  (0.0ms) SAVEPOINT active_record_1
1274
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1275
-  (0.1ms) rollback transaction
1276
-  (0.0ms) begin transaction
1277
-  (0.0ms) commit transaction
1278
-  (0.0ms) begin transaction
1279
-  (0.0ms) SAVEPOINT active_record_1
1280
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1281
-  (0.0ms) SAVEPOINT active_record_1
1282
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1283
- Filter chain halted as #<Proc:0x00007fbb28b5d570@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1284
- Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)
1285
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1286
-  (0.1ms) 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
- Rendering text template
1291
- Rendered text template (0.0ms)
1292
- Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
1293
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1294
-  (0.0ms) rollback transaction
1295
-  (0.0ms) begin transaction
1296
-  (0.0ms) commit transaction
1297
-  (0.0ms) begin transaction
1298
-  (0.0ms) SAVEPOINT active_record_1
1299
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1300
-  (0.0ms) SAVEPOINT active_record_1
1301
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1302
-  (0.0ms) SAVEPOINT active_record_1
1303
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1304
-  (0.0ms) SAVEPOINT active_record_1
1305
-  (0.1ms) SAVEPOINT active_record_2
1306
- OpenStax::Salesforce::User Create (0.5ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Mrs. Jedediah Thompson"], ["uid", "e0550b3170d33fa7f1ee"], ["oauth_token", "7e29170ee35eb80d0e21cd7576b512cd"], ["refresh_token", "619e1b5d3e56afccdb1d99c6ddc01008"], ["instance_url", "http://buckridgeschuppe.net/robbie"], ["created_at", "2018-09-27 19:54:24.111093"], ["updated_at", "2018-09-27 19:54:24.111093"]]
1307
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1308
-  (0.0ms) SAVEPOINT active_record_2
1309
- 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", "Beau Kohler"], ["uid", "6895c9fbe48ee8301a79"], ["oauth_token", "542524b4546c5a56c04345c5cbe9bb43"], ["refresh_token", "a0cbe9d5bd47bd89ce1ff2ed6e41f72d"], ["instance_url", "http://stoltenberg.com/carolyne.ondricka"], ["created_at", "2018-09-27 19:54:24.113678"], ["updated_at", "2018-09-27 19:54:24.113678"]]
1310
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1311
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1312
-  (0.0ms) SAVEPOINT active_record_1
1313
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1314
-  (0.0ms) SAVEPOINT active_record_1
1315
-  (0.0ms) SAVEPOINT active_record_2
1316
- 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", "Melody Morar"], ["uid", "someuid"], ["oauth_token", "f341d0a6b17cac79b810d7991c4cbdf1"], ["refresh_token", "e9cee37ff92051f59cbeac8bb826dbaa"], ["instance_url", "http://denesik.io/carlie"], ["created_at", "2018-09-27 19:54:24.117164"], ["updated_at", "2018-09-27 19:54:24.117164"]]
1317
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1318
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1319
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1320
-  (0.0ms) SAVEPOINT active_record_1
1321
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1322
-  (0.0ms) SAVEPOINT active_record_1
1323
-  (0.0ms) SAVEPOINT active_record_2
1324
- 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", "Bart Welch"], ["uid", "77da44d5191ca555cca4"], ["oauth_token", "298fab2a729e1073a8e980c99c17ec4e"], ["refresh_token", "9945341e1136790a0c0f107ec17fcb44"], ["instance_url", "http://gaylord.biz/giovanny"], ["created_at", "2018-09-27 19:54:24.122095"], ["updated_at", "2018-09-27 19:54:24.122095"]]
1325
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1326
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1327
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1328
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1329
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1330
-  (0.0ms) SAVEPOINT active_record_2
1331
- OpenStax::Salesforce::User Destroy (0.2ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1332
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1333
- Redirected to http://test.host/admin/salesforce/
1334
- Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
1335
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1336
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1337
-  (0.0ms) SAVEPOINT active_record_1
1338
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1339
-  (0.0ms) SAVEPOINT active_record_1
1340
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
1341
- Filter chain halted as #<Proc:0x00007fbb28b5d570@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1342
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1343
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1344
-  (0.4ms) rollback transaction
1345
-  (0.0ms) begin transaction
1346
-  (0.0ms) commit transaction
1347
-  (0.0ms) begin transaction
1348
-  (0.0ms) SAVEPOINT active_record_1
1349
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1350
-  (0.0ms) SAVEPOINT active_record_1
1351
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1352
-  (0.0ms) rollback transaction
1353
-  (0.0ms) begin transaction
1354
-  (0.0ms) commit transaction
1355
-  (0.0ms) begin transaction
1356
-  (0.0ms) SAVEPOINT active_record_1
1357
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1358
-  (0.0ms) SAVEPOINT active_record_1
1359
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1360
-  (0.0ms) SAVEPOINT active_record_1
1361
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1362
-  (0.0ms) SAVEPOINT active_record_1
1363
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1364
-  (0.1ms) SAVEPOINT active_record_1
1365
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1366
-  (0.0ms) SAVEPOINT active_record_1
1367
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1368
-  (0.1ms) SAVEPOINT active_record_1
1369
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1370
-  (0.0ms) SAVEPOINT active_record_1
1371
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1372
-  (0.0ms) SAVEPOINT active_record_1
1373
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1374
-  (0.0ms) SAVEPOINT active_record_1
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
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1380
-  (0.0ms) SAVEPOINT active_record_1
1381
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1382
-  (0.0ms) SAVEPOINT active_record_1
1383
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1384
-  (0.0ms) SAVEPOINT active_record_1
1385
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1386
-  (0.0ms) SAVEPOINT active_record_1
1387
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1388
-  (0.0ms) SAVEPOINT active_record_1
1389
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1390
-  (0.0ms) SAVEPOINT active_record_1
1391
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1392
-  (0.0ms) SAVEPOINT active_record_1
1393
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1394
-  (0.1ms) SAVEPOINT active_record_1
1395
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1396
-  (0.0ms) SAVEPOINT active_record_1
1397
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1398
-  (0.0ms) SAVEPOINT active_record_1
1399
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1400
-  (0.0ms) rollback transaction
1401
-  (0.0ms) begin transaction
1402
-  (0.0ms) commit transaction
1403
-  (0.0ms) begin transaction
1404
-  (0.0ms) SAVEPOINT active_record_1
1405
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1406
-  (0.0ms) SAVEPOINT active_record_1
1407
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1408
-  (0.0ms) rollback transaction
1409
-  (0.0ms) begin transaction
1410
-  (0.0ms) commit transaction
1411
-  (0.0ms) begin transaction
1412
-  (0.0ms) SAVEPOINT active_record_1
1413
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1414
-  (0.0ms) SAVEPOINT active_record_1
1415
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1416
-  (0.0ms) SAVEPOINT active_record_1
1417
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1418
-  (0.0ms) SAVEPOINT active_record_1
1419
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1420
-  (0.0ms) SAVEPOINT active_record_1
1421
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1422
-  (0.0ms) SAVEPOINT active_record_1
1423
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1424
-  (0.0ms) rollback transaction
1425
-  (0.0ms) begin transaction
1426
-  (0.0ms) commit transaction
1427
-  (0.0ms) begin transaction
1428
-  (0.0ms) SAVEPOINT active_record_1
1429
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1430
-  (0.0ms) SAVEPOINT active_record_1
1431
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1432
-  (0.0ms) rollback transaction
1433
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1434
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1435
-  (0.1ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
1436
-  (0.1ms) SELECT sqlite_version(*)
1437
-  (2.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)
1438
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1439
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1440
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1441
-  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1442
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1443
-  (0.0ms) begin transaction
1444
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-27 19:56:01.925294"], ["updated_at", "2018-09-27 19:56:01.925294"]]
1445
-  (1.0ms) commit transaction
1446
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1447
-  (0.0ms) begin transaction
1448
-  (0.0ms) commit transaction
1449
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1450
-  (0.1ms) PRAGMA foreign_keys
1451
-  (0.1ms) PRAGMA foreign_keys = OFF
1452
-  (1.6ms) DELETE FROM "openstax_salesforce_users";
1453
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1454
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1455
-  (1.0ms) DELETE FROM "ar_internal_metadata";
1456
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1457
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1458
-  (0.0ms) PRAGMA foreign_keys = 1
1459
-  (0.0ms) begin transaction
1460
-  (0.1ms) commit transaction
1461
-  (0.0ms) begin transaction
1462
-  (0.0ms) SAVEPOINT active_record_1
1463
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1464
-  (0.0ms) SAVEPOINT active_record_1
1465
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1466
-  (0.1ms) rollback transaction
1467
-  (0.0ms) begin transaction
1468
-  (0.1ms) commit transaction
1469
-  (0.0ms) begin transaction
1470
-  (0.0ms) SAVEPOINT active_record_1
1471
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1472
-  (0.0ms) SAVEPOINT active_record_1
1473
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1474
- Filter chain halted as #<Proc:0x00007fc6fbc32f70@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1475
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1476
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1477
-  (0.0ms) SAVEPOINT active_record_1
1478
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1479
-  (0.0ms) SAVEPOINT active_record_1
1480
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1481
- Rendering text template
1482
- Rendered text template (0.0ms)
1483
- Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
1484
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1485
-  (0.0ms) rollback transaction
1486
-  (0.0ms) begin transaction
1487
-  (0.0ms) commit transaction
1488
-  (0.0ms) begin transaction
1489
-  (0.0ms) SAVEPOINT active_record_1
1490
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1491
-  (0.0ms) SAVEPOINT active_record_1
1492
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1493
-  (0.0ms) SAVEPOINT active_record_1
1494
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1495
-  (0.0ms) SAVEPOINT active_record_1
1496
-  (0.1ms) SAVEPOINT active_record_2
1497
- OpenStax::Salesforce::User Create (0.4ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Aimee Nicolas"], ["uid", "523cd6baed1273dec8b4"], ["oauth_token", "1072c144cd5ded82580e81a2188fc422"], ["refresh_token", "3ab94d31823f50214ec2702904350b0e"], ["instance_url", "http://gleason.co/laila.bahringer"], ["created_at", "2018-09-27 19:56:04.869656"], ["updated_at", "2018-09-27 19:56:04.869656"]]
1498
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1499
-  (0.0ms) SAVEPOINT active_record_2
1500
- 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", "Miss Edyth Thiel"], ["uid", "3e222de051cb0a471505"], ["oauth_token", "a8409b24d296d4fb99a57fe002a3b4d5"], ["refresh_token", "5b26bd781faaaded6fc9973aa951404c"], ["instance_url", "http://blick.net/araceli_renner"], ["created_at", "2018-09-27 19:56:04.871992"], ["updated_at", "2018-09-27 19:56:04.871992"]]
1501
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1502
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1503
-  (0.1ms) SAVEPOINT active_record_1
1504
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1505
-  (0.0ms) SAVEPOINT active_record_1
1506
-  (0.0ms) SAVEPOINT active_record_2
1507
- 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", "Alexanne Ondricka"], ["uid", "someuid"], ["oauth_token", "98f9edc1c79730e6f8610c7f54db505c"], ["refresh_token", "8579ccc232f4602a98a27b192c9fff16"], ["instance_url", "http://rodriguez.net/modesto_gaylord"], ["created_at", "2018-09-27 19:56:04.875635"], ["updated_at", "2018-09-27 19:56:04.875635"]]
1508
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1509
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1510
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1511
-  (0.1ms) SAVEPOINT active_record_1
1512
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1513
-  (0.0ms) SAVEPOINT active_record_1
1514
-  (0.0ms) SAVEPOINT active_record_2
1515
- 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", "Miss Malcolm Hahn"], ["uid", "80eebd989c3ed4ca7fab"], ["oauth_token", "9b67b5b8b92912b7302e203e9d947b3c"], ["refresh_token", "8ec8f3853728748f793abbc4800be88e"], ["instance_url", "http://dickens.net/alisa"], ["created_at", "2018-09-27 19:56:04.880207"], ["updated_at", "2018-09-27 19:56:04.880207"]]
1516
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1517
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1518
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1519
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1520
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1521
-  (0.1ms) SAVEPOINT active_record_2
1522
- OpenStax::Salesforce::User Destroy (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1523
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1524
- Redirected to http://test.host/admin/salesforce/
1525
- Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1526
-  (0.4ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1527
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1528
-  (0.1ms) SAVEPOINT active_record_1
1529
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1530
-  (0.0ms) SAVEPOINT active_record_1
1531
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
1532
- Filter chain halted as #<Proc:0x00007fc6fbc32f70@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1533
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1534
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1535
-  (0.9ms) rollback transaction
1536
-  (0.1ms) begin transaction
1537
-  (0.0ms) commit transaction
1538
-  (0.0ms) begin transaction
1539
-  (0.0ms) SAVEPOINT active_record_1
1540
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1541
-  (0.0ms) SAVEPOINT active_record_1
1542
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1543
-  (0.0ms) rollback transaction
1544
-  (0.0ms) begin transaction
1545
-  (0.1ms) commit transaction
1546
-  (0.0ms) begin transaction
1547
-  (0.0ms) SAVEPOINT active_record_1
1548
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1549
-  (0.0ms) SAVEPOINT active_record_1
1550
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1551
-  (0.0ms) SAVEPOINT active_record_1
1552
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1553
-  (0.0ms) SAVEPOINT active_record_1
1554
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1555
-  (0.0ms) SAVEPOINT active_record_1
1556
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1557
-  (0.0ms) SAVEPOINT active_record_1
1558
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1559
-  (0.0ms) SAVEPOINT active_record_1
1560
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1561
-  (0.0ms) SAVEPOINT active_record_1
1562
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1563
-  (0.0ms) SAVEPOINT active_record_1
1564
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1565
-  (0.0ms) SAVEPOINT active_record_1
1566
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1567
-  (0.0ms) SAVEPOINT active_record_1
1568
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1569
-  (0.0ms) SAVEPOINT active_record_1
1570
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1571
-  (0.1ms) SAVEPOINT active_record_1
1572
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1573
-  (0.0ms) SAVEPOINT active_record_1
1574
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1575
-  (0.0ms) SAVEPOINT active_record_1
1576
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1577
-  (0.1ms) SAVEPOINT active_record_1
1578
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1579
-  (0.1ms) SAVEPOINT active_record_1
1580
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1581
-  (0.0ms) SAVEPOINT active_record_1
1582
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1583
-  (0.1ms) SAVEPOINT active_record_1
1584
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1585
-  (0.0ms) SAVEPOINT active_record_1
1586
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1587
-  (0.0ms) SAVEPOINT active_record_1
1588
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1589
-  (0.0ms) SAVEPOINT active_record_1
1590
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1591
-  (0.0ms) rollback transaction
1592
-  (0.0ms) begin transaction
1593
-  (0.0ms) commit transaction
1594
-  (0.0ms) begin transaction
1595
-  (0.0ms) SAVEPOINT active_record_1
1596
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1597
-  (0.0ms) SAVEPOINT active_record_1
1598
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1599
-  (0.0ms) rollback transaction
1600
-  (0.0ms) begin transaction
1601
-  (0.0ms) commit transaction
1602
-  (0.0ms) begin transaction
1603
-  (0.0ms) SAVEPOINT active_record_1
1604
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1605
-  (0.0ms) SAVEPOINT active_record_1
1606
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1607
-  (0.0ms) SAVEPOINT active_record_1
1608
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1609
-  (0.0ms) SAVEPOINT active_record_1
1610
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1611
-  (0.0ms) SAVEPOINT active_record_1
1612
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1613
-  (0.0ms) SAVEPOINT active_record_1
1614
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1615
-  (0.0ms) rollback transaction
1616
-  (0.0ms) begin transaction
1617
-  (0.0ms) commit transaction
1618
-  (0.0ms) begin transaction
1619
-  (0.0ms) SAVEPOINT active_record_1
1620
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1621
-  (0.0ms) SAVEPOINT active_record_1
1622
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1623
-  (0.0ms) rollback transaction
1624
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1625
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1626
-  (0.1ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
1627
-  (0.1ms) SELECT sqlite_version(*)
1628
-  (1.4ms) 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)
1629
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1630
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1631
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1632
-  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1633
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1634
-  (0.1ms) begin transaction
1635
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-27 19:56:44.874150"], ["updated_at", "2018-09-27 19:56:44.874150"]]
1636
-  (1.0ms) commit transaction
1637
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1638
-  (0.0ms) begin transaction
1639
-  (0.0ms) commit transaction
1640
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1641
-  (0.1ms) PRAGMA foreign_keys
1642
-  (0.0ms) PRAGMA foreign_keys = OFF
1643
-  (1.8ms) DELETE FROM "openstax_salesforce_users";
1644
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1645
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1646
-  (1.6ms) DELETE FROM "ar_internal_metadata";
1647
-  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1648
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1649
-  (0.1ms) PRAGMA foreign_keys = 1
1650
-  (0.1ms) begin transaction
1651
-  (0.1ms) commit transaction
1652
-  (0.0ms) begin transaction
1653
-  (0.1ms) SAVEPOINT active_record_1
1654
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1655
-  (0.0ms) SAVEPOINT active_record_1
1656
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1657
-  (0.0ms) rollback transaction
1658
-  (0.0ms) begin transaction
1659
-  (0.0ms) commit transaction
1660
-  (0.0ms) begin transaction
1661
-  (0.0ms) SAVEPOINT active_record_1
1662
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1663
-  (0.0ms) SAVEPOINT active_record_1
1664
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1665
- Filter chain halted as #<Proc:0x00007fa7473e8f78@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1666
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1667
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1668
-  (0.0ms) SAVEPOINT active_record_1
1669
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1670
-  (0.0ms) SAVEPOINT active_record_1
1671
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1672
- Rendering text template
1673
- Rendered text template (0.0ms)
1674
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
1675
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1676
-  (0.1ms) rollback transaction
1677
-  (0.0ms) begin transaction
1678
-  (0.0ms) commit transaction
1679
-  (0.1ms) begin transaction
1680
-  (0.1ms) SAVEPOINT active_record_1
1681
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1682
-  (0.0ms) SAVEPOINT active_record_1
1683
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1684
-  (0.0ms) SAVEPOINT active_record_1
1685
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1686
-  (0.1ms) SAVEPOINT active_record_1
1687
-  (0.1ms) SAVEPOINT active_record_2
1688
- OpenStax::Salesforce::User Create (0.4ms) INSERT INTO "openstax_salesforce_users" ("name", "uid", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Theresia Veum"], ["uid", "f86d29fdcb1c9330f185"], ["oauth_token", "cf61d7d2c8c9cb9ce72fd43eb871afc3"], ["refresh_token", "b706109a56613cb861ec6424330c2af3"], ["instance_url", "http://wehner.io/jefferey"], ["created_at", "2018-09-27 19:56:47.816046"], ["updated_at", "2018-09-27 19:56:47.816046"]]
1689
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1690
-  (0.0ms) SAVEPOINT active_record_2
1691
- 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", "Marjorie Monahan MD"], ["uid", "0058eae66539ea82d809"], ["oauth_token", "3241cbe04cbc839ee3fc4c3bff82ca3e"], ["refresh_token", "aed948172d61ccc97254ffbe4fb2c887"], ["instance_url", "http://huel.com/amir.bernhard"], ["created_at", "2018-09-27 19:56:47.818456"], ["updated_at", "2018-09-27 19:56:47.818456"]]
1692
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1693
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1694
-  (0.0ms) SAVEPOINT active_record_1
1695
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1696
-  (0.0ms) SAVEPOINT active_record_1
1697
-  (0.0ms) SAVEPOINT active_record_2
1698
- 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", "Elisha Hills"], ["uid", "someuid"], ["oauth_token", "be30f135257f8f4d62de8a52ea6839c7"], ["refresh_token", "41fa57f5e4ce77e64d25bdc19052b9f2"], ["instance_url", "http://hansendeckow.name/jarod.graham"], ["created_at", "2018-09-27 19:56:47.821548"], ["updated_at", "2018-09-27 19:56:47.821548"]]
1699
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1700
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1701
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1702
-  (0.0ms) SAVEPOINT active_record_1
1703
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1704
-  (0.0ms) SAVEPOINT active_record_1
1705
-  (0.0ms) SAVEPOINT active_record_2
1706
- 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", "Benny Wolff"], ["uid", "640f57302ec7c041eef6"], ["oauth_token", "dd98134ee09f5a15f4b3e1965ff665d5"], ["refresh_token", "0af61359203850e348404c73e71f0b77"], ["instance_url", "http://krajcik.net/madyson"], ["created_at", "2018-09-27 19:56:47.826660"], ["updated_at", "2018-09-27 19:56:47.826660"]]
1707
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
1708
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1709
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1710
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1711
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1712
-  (0.0ms) SAVEPOINT active_record_2
1713
- OpenStax::Salesforce::User Destroy (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1714
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1715
- Redirected to http://test.host/admin/salesforce/
1716
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1717
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1718
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1719
-  (0.0ms) SAVEPOINT active_record_1
1720
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1721
-  (0.0ms) SAVEPOINT active_record_1
1722
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
1723
- Filter chain halted as #<Proc:0x00007fa7473e8f78@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1724
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1725
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1726
-  (0.9ms) rollback transaction
1727
-  (0.0ms) begin transaction
1728
-  (0.0ms) commit transaction
1729
-  (0.0ms) begin transaction
1730
-  (0.1ms) SAVEPOINT active_record_1
1731
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1732
-  (0.0ms) SAVEPOINT active_record_1
1733
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1734
-  (0.0ms) rollback transaction
1735
-  (0.0ms) begin transaction
1736
-  (0.0ms) commit transaction
1737
-  (0.0ms) begin transaction
1738
-  (0.0ms) SAVEPOINT active_record_1
1739
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1740
-  (0.0ms) SAVEPOINT active_record_1
1741
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1742
-  (0.1ms) SAVEPOINT active_record_1
1743
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1744
-  (0.0ms) SAVEPOINT active_record_1
1745
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1746
-  (0.0ms) SAVEPOINT active_record_1
1747
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1748
-  (0.0ms) SAVEPOINT active_record_1
1749
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1750
-  (0.1ms) SAVEPOINT active_record_1
1751
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1752
-  (0.0ms) SAVEPOINT active_record_1
1753
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1754
-  (0.0ms) SAVEPOINT active_record_1
1755
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1756
-  (0.0ms) SAVEPOINT active_record_1
1757
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1758
-  (0.0ms) SAVEPOINT active_record_1
1759
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1760
-  (0.0ms) SAVEPOINT active_record_1
1761
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1762
-  (0.1ms) SAVEPOINT active_record_1
1763
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1764
-  (0.0ms) SAVEPOINT active_record_1
1765
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1766
-  (0.0ms) SAVEPOINT active_record_1
1767
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1768
-  (0.0ms) SAVEPOINT active_record_1
1769
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1770
-  (0.1ms) SAVEPOINT active_record_1
1771
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1772
-  (0.0ms) SAVEPOINT active_record_1
1773
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1774
-  (0.0ms) SAVEPOINT active_record_1
1775
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1776
-  (0.0ms) SAVEPOINT active_record_1
1777
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1778
-  (0.0ms) SAVEPOINT active_record_1
1779
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1780
-  (0.0ms) SAVEPOINT active_record_1
1781
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1782
-  (0.0ms) rollback transaction
1783
-  (0.0ms) begin transaction
1784
-  (0.0ms) commit transaction
1785
-  (0.0ms) begin transaction
1786
-  (0.0ms) SAVEPOINT active_record_1
1787
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1788
-  (0.0ms) SAVEPOINT active_record_1
1789
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1790
-  (0.0ms) rollback transaction
1791
-  (0.0ms) begin transaction
1792
-  (0.0ms) commit transaction
1793
-  (0.0ms) begin transaction
1794
-  (0.0ms) SAVEPOINT active_record_1
1795
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1796
-  (0.0ms) SAVEPOINT active_record_1
1797
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1798
-  (0.0ms) SAVEPOINT active_record_1
1799
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1800
-  (0.2ms) SAVEPOINT active_record_1
1801
-  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
1802
-  (0.1ms) SAVEPOINT active_record_1
1803
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1804
-  (0.0ms) SAVEPOINT active_record_1
1805
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1806
-  (0.1ms) rollback transaction
1807
-  (0.0ms) begin transaction
1808
-  (0.0ms) commit transaction
1809
-  (0.0ms) begin transaction
1810
-  (0.0ms) SAVEPOINT active_record_1
1811
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1812
-  (0.1ms) SAVEPOINT active_record_1
1813
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1814
-  (0.1ms) rollback transaction
1815
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1816
-  (0.2ms) PRAGMA foreign_keys
1817
-  (0.1ms) PRAGMA foreign_keys = OFF
1818
-  (1.9ms) DELETE FROM "openstax_salesforce_users";
1819
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1820
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1821
-  (1.1ms) DELETE FROM "ar_internal_metadata";
1822
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1823
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1824
-  (0.0ms) PRAGMA foreign_keys = 1
1825
-  (0.0ms) begin transaction
1826
-  (0.1ms) commit transaction
1827
-  (0.0ms) begin transaction
1828
-  (0.0ms) SAVEPOINT active_record_1
1829
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1830
-  (0.0ms) SAVEPOINT active_record_1
1831
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1832
-  (0.0ms) rollback transaction
1833
-  (1.6ms) 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) 
1834
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
1835
-  (0.1ms) select sqlite_version(*)
1836
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1837
-  (0.1ms) SELECT version FROM "schema_migrations"
1838
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1839
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1840
-  (2.0ms) DELETE FROM "openstax_salesforce_users";
1841
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1842
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1843
-  (0.0ms) begin transaction
1844
-  (0.0ms) commit transaction
1845
-  (0.0ms) begin transaction
1846
-  (0.0ms) SAVEPOINT active_record_1
1847
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1848
-  (0.0ms) SAVEPOINT active_record_1
1849
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1850
-  (0.1ms) rollback transaction
1851
-  (0.0ms) begin transaction
1852
-  (0.0ms) commit transaction
1853
-  (0.0ms) begin transaction
1854
-  (0.0ms) SAVEPOINT active_record_1
1855
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1856
-  (0.0ms) SAVEPOINT active_record_1
1857
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1858
- Filter chain halted as #<Proc:0x00007f934dd02b80@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1859
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1860
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1861
-  (0.0ms) SAVEPOINT active_record_1
1862
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1863
-  (0.0ms) SAVEPOINT active_record_1
1864
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1865
- Rendered text template (0.0ms)
1866
- Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)
1867
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1868
-  (0.0ms) rollback transaction
1869
-  (0.0ms) begin transaction
1870
-  (0.0ms) commit transaction
1871
-  (0.0ms) begin transaction
1872
-  (0.0ms) SAVEPOINT active_record_1
1873
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1874
-  (0.0ms) SAVEPOINT active_record_1
1875
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1876
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1877
- OpenStax::Salesforce::User Load (4.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
1878
-  (0.0ms) SAVEPOINT active_record_2
1879
- SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-09-27 20:00:13.600644"], ["updated_at", "2018-09-27 20:00:13.600644"]]
1880
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
1881
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1882
- Redirected to http://test.host/admin/salesforce/
1883
- Completed 302 Found in 14ms (ActiveRecord: 4.6ms)
1884
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1885
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1886
-  (0.0ms) SAVEPOINT active_record_1
1887
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1888
-  (0.0ms) SAVEPOINT active_record_1
1889
-  (0.1ms) SAVEPOINT active_record_2
1890
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "15b0818705d5c318c2dc"], ["name", "Antonette Crona"], ["oauth_token", "d9198a9cbd1a25a896f8f3692881f2c3"], ["refresh_token", "6e7e42923df79d73d0a54e500880dd36"], ["instance_url", "http://mayert.net/maurine.keeling"], ["created_at", "2018-09-27 20:00:14.122000"], ["updated_at", "2018-09-27 20:00:14.122000"]]
1891
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1892
-  (0.0ms) SAVEPOINT active_record_2
1893
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "0a1d944ce233dd673aff"], ["name", "Elyse Turner"], ["oauth_token", "4a34c52ca856d44732205378df20d5ec"], ["refresh_token", "90561e34b75c532ea81cad62b2389e88"], ["instance_url", "http://rath.name/eleanora"], ["created_at", "2018-09-27 20:00:14.123756"], ["updated_at", "2018-09-27 20:00:14.123756"]]
1894
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1895
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1896
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1897
- 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 1 [["uid", "someuid"]]
1898
-  (0.0ms) SAVEPOINT active_record_2
1899
- SQL (0.0ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-09-27 20:00:14.128467"], ["updated_at", "2018-09-27 20:00:14.128467"]]
1900
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 3]]
1901
- SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1902
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
1903
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1904
- Redirected to http://test.host/admin/salesforce/
1905
- Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
1906
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1907
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1908
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1909
-  (0.0ms) SAVEPOINT active_record_1
1910
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1911
-  (0.0ms) SAVEPOINT active_record_1
1912
-  (0.2ms) SAVEPOINT active_record_2
1913
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Wade Windler"], ["oauth_token", "c30846c8d6afcd6aedf9e73c4a942f07"], ["refresh_token", "4950b8847731fffe33983f8e3267219b"], ["instance_url", "http://powlowskierdman.biz/dusty"], ["created_at", "2018-09-27 20:00:14.138580"], ["updated_at", "2018-09-27 20:00:14.138580"]]
1914
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
1915
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1916
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1917
- 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 1 [["uid", "someuid"]]
1918
-  (0.0ms) SAVEPOINT active_record_2
1919
- SQL (0.1ms) 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", "2018-09-27 20:00:14.143545"], ["id", 1]]
1920
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
1921
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1922
- Redirected to http://test.host/admin/salesforce/
1923
- Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
1924
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
1925
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1926
-  (0.0ms) SAVEPOINT active_record_1
1927
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1928
-  (0.0ms) SAVEPOINT active_record_1
1929
-  (0.0ms) SAVEPOINT active_record_2
1930
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "e5035eecc12c48372d50"], ["name", "Melvina Rau"], ["oauth_token", "76c92f748a23b689a76c0493a0403692"], ["refresh_token", "9accfb6e2f18303bef260d7cddd0dd2c"], ["instance_url", "http://shanahanstreich.co/elian.lubowitz"], ["created_at", "2018-09-27 20:00:14.150261"], ["updated_at", "2018-09-27 20:00:14.150261"]]
1931
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
1932
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1933
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1934
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1935
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1936
-  (0.0ms) SAVEPOINT active_record_2
1937
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1938
-  (0.0ms) RELEASE SAVEPOINT active_record_2
1939
- Redirected to http://test.host/admin/salesforce/
1940
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1941
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1942
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1943
-  (0.0ms) SAVEPOINT active_record_1
1944
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1945
-  (0.0ms) SAVEPOINT active_record_1
1946
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
1947
- Filter chain halted as #<Proc:0x00007f934dd02b80@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1948
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1949
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1950
-  (0.4ms) rollback transaction
1951
-  (0.0ms) begin transaction
1952
-  (0.0ms) commit transaction
1953
-  (0.0ms) begin transaction
1954
-  (0.0ms) SAVEPOINT active_record_1
1955
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1956
-  (0.0ms) SAVEPOINT active_record_1
1957
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1958
-  (0.0ms) rollback transaction
1959
-  (0.0ms) begin transaction
1960
-  (0.0ms) commit transaction
1961
-  (0.1ms) begin transaction
1962
-  (0.1ms) SAVEPOINT active_record_1
1963
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1964
-  (0.0ms) SAVEPOINT active_record_1
1965
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1966
-  (0.0ms) SAVEPOINT active_record_1
1967
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1968
-  (0.0ms) SAVEPOINT active_record_1
1969
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1970
-  (0.0ms) SAVEPOINT active_record_1
1971
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1972
-  (0.0ms) SAVEPOINT active_record_1
1973
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1974
-  (0.1ms) SAVEPOINT active_record_1
1975
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1976
-  (0.0ms) SAVEPOINT active_record_1
1977
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1978
-  (0.0ms) SAVEPOINT active_record_1
1979
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1980
-  (0.0ms) SAVEPOINT active_record_1
1981
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1982
-  (0.1ms) SAVEPOINT active_record_1
1983
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1984
-  (0.0ms) SAVEPOINT active_record_1
1985
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1986
-  (0.0ms) SAVEPOINT active_record_1
1987
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1988
-  (0.0ms) SAVEPOINT active_record_1
1989
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1990
-  (0.0ms) SAVEPOINT active_record_1
1991
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1992
-  (0.1ms) SAVEPOINT active_record_1
1993
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1994
-  (0.0ms) SAVEPOINT active_record_1
1995
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1996
-  (0.0ms) SAVEPOINT active_record_1
1997
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1998
-  (0.0ms) SAVEPOINT active_record_1
1999
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2000
-  (0.0ms) SAVEPOINT active_record_1
2001
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2002
-  (0.1ms) SAVEPOINT active_record_1
2003
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2004
-  (0.1ms) SAVEPOINT active_record_1
2005
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2006
-  (0.1ms) rollback transaction
2007
-  (0.0ms) begin transaction
2008
-  (0.0ms) commit transaction
2009
-  (0.0ms) begin transaction
2010
-  (0.0ms) SAVEPOINT active_record_1
2011
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2012
-  (0.0ms) SAVEPOINT active_record_1
2013
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2014
-  (0.0ms) rollback transaction
2015
-  (0.0ms) begin transaction
2016
-  (0.0ms) commit transaction
2017
-  (0.1ms) begin transaction
2018
-  (0.0ms) SAVEPOINT active_record_1
2019
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2020
-  (0.0ms) SAVEPOINT active_record_1
2021
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2022
-  (0.0ms) SAVEPOINT active_record_1
2023
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2024
-  (0.0ms) SAVEPOINT active_record_1
2025
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2026
-  (0.0ms) SAVEPOINT active_record_1
2027
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2028
-  (0.0ms) SAVEPOINT active_record_1
2029
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2030
-  (0.0ms) rollback transaction
2031
-  (0.0ms) begin transaction
2032
-  (0.0ms) commit transaction
2033
-  (0.0ms) begin transaction
2034
-  (0.0ms) SAVEPOINT active_record_1
2035
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2036
-  (0.0ms) SAVEPOINT active_record_1
2037
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2038
-  (0.0ms) rollback transaction
2039
-  (1.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) 
2040
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
2041
-  (0.1ms) select sqlite_version(*)
2042
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2043
-  (0.1ms) SELECT version FROM "schema_migrations"
2044
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
2045
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2046
-  (1.8ms) DELETE FROM "openstax_salesforce_users";
2047
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2048
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
2049
-  (0.0ms) begin transaction
2050
-  (0.0ms) commit transaction
2051
-  (0.1ms) begin transaction
2052
-  (0.0ms) SAVEPOINT active_record_1
2053
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2054
-  (0.0ms) SAVEPOINT active_record_1
2055
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2056
-  (0.0ms) rollback transaction
2057
-  (0.0ms) begin transaction
2058
-  (0.0ms) commit transaction
2059
-  (0.0ms) begin transaction
2060
-  (0.0ms) SAVEPOINT active_record_1
2061
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2062
-  (0.0ms) SAVEPOINT active_record_1
2063
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
2064
- Filter chain halted as #<Proc:0x00007fa6e6ee2368@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
2065
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2066
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2067
-  (0.0ms) SAVEPOINT active_record_1
2068
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2069
-  (0.0ms) SAVEPOINT active_record_1
2070
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
2071
- Rendered text template (0.0ms)
2072
- Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
2073
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2074
-  (0.0ms) rollback transaction
2075
-  (0.0ms) begin transaction
2076
-  (0.1ms) commit transaction
2077
-  (0.1ms) begin transaction
2078
-  (0.1ms) SAVEPOINT active_record_1
2079
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2080
-  (0.0ms) SAVEPOINT active_record_1
2081
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2082
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
2083
- 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 1 [["uid", "someuid"]]
2084
-  (0.0ms) SAVEPOINT active_record_2
2085
- SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-09-27 20:07:00.785394"], ["updated_at", "2018-09-27 20:07:00.785394"]]
2086
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
2087
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2088
- Redirected to http://test.host/admin/salesforce/
2089
- Completed 302 Found in 17ms (ActiveRecord: 0.6ms)
2090
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2091
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2092
-  (0.0ms) SAVEPOINT active_record_1
2093
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2094
-  (0.0ms) SAVEPOINT active_record_1
2095
-  (0.1ms) SAVEPOINT active_record_2
2096
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "b8378d64d7d3f9b1306a"], ["name", "Yasmine Powlowski Jr."], ["oauth_token", "f7371082ca23ad0847009dff41a00131"], ["refresh_token", "982f678f9b70d87ae217a3cb7e973d1b"], ["instance_url", "http://goldnerkeebler.net/callie"], ["created_at", "2018-09-27 20:07:01.359601"], ["updated_at", "2018-09-27 20:07:01.359601"]]
2097
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2098
-  (0.0ms) SAVEPOINT active_record_2
2099
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "bf7abe95e90088246fd1"], ["name", "Zachary Quigley"], ["oauth_token", "6955a13316cbe75f1b212c21565e3728"], ["refresh_token", "207db763de852e3242cb70fb26861982"], ["instance_url", "http://dibbert.name/amara"], ["created_at", "2018-09-27 20:07:01.361678"], ["updated_at", "2018-09-27 20:07:01.361678"]]
2100
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2101
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2102
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
2103
- 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 1 [["uid", "someuid"]]
2104
-  (0.0ms) SAVEPOINT active_record_2
2105
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-09-27 20:07:01.369600"], ["updated_at", "2018-09-27 20:07:01.369600"]]
2106
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 3]]
2107
- SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
2108
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
2109
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2110
- Redirected to http://test.host/admin/salesforce/
2111
- Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
2112
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2113
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
2114
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2115
-  (0.0ms) SAVEPOINT active_record_1
2116
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2117
-  (0.1ms) SAVEPOINT active_record_1
2118
-  (0.0ms) SAVEPOINT active_record_2
2119
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Edwina Mayert"], ["oauth_token", "4b9fe364e6e85bc6b26cb86b8ee8017e"], ["refresh_token", "b7cdaf2787db4ca0b6537184e38fa2a5"], ["instance_url", "http://rempelankunding.org/simeon"], ["created_at", "2018-09-27 20:07:01.377051"], ["updated_at", "2018-09-27 20:07:01.377051"]]
2120
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
2121
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2122
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
2123
- 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 1 [["uid", "someuid"]]
2124
-  (0.0ms) SAVEPOINT active_record_2
2125
- SQL (0.1ms) 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", "2018-09-27 20:07:01.381657"], ["id", 1]]
2126
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
2127
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2128
- Redirected to http://test.host/admin/salesforce/
2129
- Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
2130
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
2131
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2132
-  (0.0ms) SAVEPOINT active_record_1
2133
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2134
-  (0.0ms) SAVEPOINT active_record_1
2135
-  (0.0ms) SAVEPOINT active_record_2
2136
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "68a78be26b3cba079867"], ["name", "Mandy Kertzmann"], ["oauth_token", "8ff2287df0758753a1e14bd8a6306711"], ["refresh_token", "5431c683c401c1bb058e9dfb55699fcc"], ["instance_url", "http://nolanhalvorson.org/felicity_dibbert"], ["created_at", "2018-09-27 20:07:01.387975"], ["updated_at", "2018-09-27 20:07:01.387975"]]
2137
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
2138
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2139
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2140
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
2141
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
2142
-  (0.0ms) SAVEPOINT active_record_2
2143
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
2144
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2145
- Redirected to http://test.host/admin/salesforce/
2146
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
2147
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2148
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2149
-  (0.0ms) SAVEPOINT active_record_1
2150
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2151
-  (0.0ms) SAVEPOINT active_record_1
2152
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
2153
- Filter chain halted as #<Proc:0x00007fa6e6ee2368@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
2154
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2155
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2156
-  (1.0ms) rollback transaction
2157
-  (0.0ms) begin transaction
2158
-  (0.0ms) commit transaction
2159
-  (0.0ms) begin transaction
2160
-  (0.0ms) SAVEPOINT active_record_1
2161
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2162
-  (0.0ms) SAVEPOINT active_record_1
2163
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2164
-  (0.0ms) rollback transaction
2165
-  (0.0ms) begin transaction
2166
-  (0.0ms) commit transaction
2167
-  (0.1ms) begin transaction
2168
-  (0.1ms) SAVEPOINT active_record_1
2169
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2170
-  (0.0ms) SAVEPOINT active_record_1
2171
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2172
-  (0.0ms) SAVEPOINT active_record_1
2173
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2174
-  (0.0ms) SAVEPOINT active_record_1
2175
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2176
-  (0.0ms) SAVEPOINT active_record_1
2177
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2178
-  (0.0ms) SAVEPOINT active_record_1
2179
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2180
-  (0.1ms) SAVEPOINT active_record_1
2181
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2182
-  (0.0ms) SAVEPOINT active_record_1
2183
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2184
-  (0.0ms) SAVEPOINT active_record_1
2185
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2186
-  (0.0ms) SAVEPOINT active_record_1
2187
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2188
-  (0.0ms) SAVEPOINT active_record_1
2189
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2190
-  (0.0ms) SAVEPOINT active_record_1
2191
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2192
-  (0.0ms) SAVEPOINT active_record_1
2193
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2194
-  (0.0ms) SAVEPOINT active_record_1
2195
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2196
-  (0.0ms) SAVEPOINT active_record_1
2197
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2198
-  (0.0ms) SAVEPOINT active_record_1
2199
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2200
-  (0.0ms) SAVEPOINT active_record_1
2201
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2202
-  (0.0ms) SAVEPOINT active_record_1
2203
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2204
-  (0.0ms) SAVEPOINT active_record_1
2205
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2206
-  (0.0ms) SAVEPOINT active_record_1
2207
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2208
-  (0.0ms) SAVEPOINT active_record_1
2209
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2210
-  (0.0ms) SAVEPOINT active_record_1
2211
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2212
-  (0.0ms) rollback transaction
2213
-  (0.0ms) begin transaction
2214
-  (0.1ms) commit transaction
2215
-  (0.0ms) begin transaction
2216
-  (0.0ms) SAVEPOINT active_record_1
2217
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2218
-  (0.0ms) SAVEPOINT active_record_1
2219
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2220
-  (0.2ms) rollback transaction
2221
-  (0.3ms) begin transaction
2222
-  (0.1ms) commit transaction
2223
-  (0.0ms) begin transaction
2224
-  (0.1ms) SAVEPOINT active_record_1
2225
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2226
-  (0.0ms) SAVEPOINT active_record_1
2227
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2228
-  (0.0ms) SAVEPOINT active_record_1
2229
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2230
-  (0.0ms) SAVEPOINT active_record_1
2231
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2232
-  (0.0ms) SAVEPOINT active_record_1
2233
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2234
-  (0.0ms) SAVEPOINT active_record_1
2235
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2236
-  (0.0ms) rollback transaction
2237
-  (0.0ms) begin transaction
2238
-  (0.0ms) commit transaction
2239
-  (0.0ms) begin transaction
2240
-  (0.0ms) SAVEPOINT active_record_1
2241
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2242
-  (0.0ms) SAVEPOINT active_record_1
2243
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2244
-  (0.0ms) rollback transaction
2245
-  (1.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) 
2246
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
2247
-  (0.1ms) select sqlite_version(*)
2248
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2249
-  (0.1ms) SELECT version FROM "schema_migrations"
2250
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
2251
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2252
-  (1.0ms) DELETE FROM "openstax_salesforce_users";
2253
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2254
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
2255
-  (0.0ms) begin transaction
2256
-  (0.0ms) commit transaction
2257
-  (0.0ms) begin transaction
2258
-  (0.0ms) SAVEPOINT active_record_1
2259
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2260
-  (0.0ms) SAVEPOINT active_record_1
2261
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2262
-  (0.1ms) rollback transaction
2263
-  (0.0ms) begin transaction
2264
-  (0.0ms) commit transaction
2265
-  (0.0ms) begin transaction
2266
-  (0.0ms) SAVEPOINT active_record_1
2267
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2268
-  (0.0ms) SAVEPOINT active_record_1
2269
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
2270
- Filter chain halted as #<Proc:0x00007f960cea5b10@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
2271
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2272
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2273
-  (0.0ms) SAVEPOINT active_record_1
2274
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2275
-  (0.0ms) SAVEPOINT active_record_1
2276
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
2277
- Rendered text template (0.0ms)
2278
- Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
2279
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2280
-  (0.1ms) rollback transaction
2281
-  (0.0ms) begin transaction
2282
-  (0.0ms) commit transaction
2283
-  (0.0ms) begin transaction
2284
-  (0.0ms) SAVEPOINT active_record_1
2285
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2286
-  (0.0ms) SAVEPOINT active_record_1
2287
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2288
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
2289
- 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 1 [["uid", "someuid"]]
2290
-  (0.0ms) SAVEPOINT active_record_2
2291
- SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-11-27 18:31:45.752793"], ["updated_at", "2018-11-27 18:31:45.752793"]]
2292
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
2293
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2294
- Redirected to http://test.host/admin/salesforce/
2295
- Completed 302 Found in 12ms (ActiveRecord: 0.6ms)
2296
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2297
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2298
-  (0.0ms) SAVEPOINT active_record_1
2299
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2300
-  (0.0ms) SAVEPOINT active_record_1
2301
-  (0.1ms) SAVEPOINT active_record_2
2302
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "581b7ecdf29b8d927557"], ["name", "Nick Runte"], ["oauth_token", "bb18702f6a275ad06cb80c84af807807"], ["refresh_token", "c1cc6960241ff5fab36b505b98eee388"], ["instance_url", "http://mclaughlin.info/guido"], ["created_at", "2018-11-27 18:31:46.330787"], ["updated_at", "2018-11-27 18:31:46.330787"]]
2303
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2304
-  (0.0ms) SAVEPOINT active_record_2
2305
- SQL (0.0ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "23f9450195396d127e85"], ["name", "Mrs. Vena Daugherty"], ["oauth_token", "ddec5a9eb5c36b5af03d9856f7c38e24"], ["refresh_token", "cdc3c2934aa0635a5630cb9e786781b2"], ["instance_url", "http://abshire.co/brad"], ["created_at", "2018-11-27 18:31:46.332709"], ["updated_at", "2018-11-27 18:31:46.332709"]]
2306
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2307
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2308
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
2309
- 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 1 [["uid", "someuid"]]
2310
-  (0.0ms) SAVEPOINT active_record_2
2311
- SQL (0.0ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2018-11-27 18:31:46.337166"], ["updated_at", "2018-11-27 18:31:46.337166"]]
2312
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 3]]
2313
- SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
2314
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
2315
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2316
- Redirected to http://test.host/admin/salesforce/
2317
- Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
2318
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2319
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
2320
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2321
-  (0.0ms) SAVEPOINT active_record_1
2322
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2323
-  (0.0ms) SAVEPOINT active_record_1
2324
-  (0.0ms) SAVEPOINT active_record_2
2325
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Darion Kris DVM"], ["oauth_token", "fcd51f43c556d1cc3822430ff8246962"], ["refresh_token", "fc74e105301c06d718333b1e489537fd"], ["instance_url", "http://jacobson.info/chanelle"], ["created_at", "2018-11-27 18:31:46.344126"], ["updated_at", "2018-11-27 18:31:46.344126"]]
2326
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
2327
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2328
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
2329
- 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 1 [["uid", "someuid"]]
2330
-  (0.0ms) SAVEPOINT active_record_2
2331
- SQL (0.1ms) 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", "2018-11-27 18:31:46.348694"], ["id", 1]]
2332
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
2333
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2334
- Redirected to http://test.host/admin/salesforce/
2335
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
2336
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
2337
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2338
-  (0.0ms) SAVEPOINT active_record_1
2339
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2340
-  (0.0ms) SAVEPOINT active_record_1
2341
-  (0.0ms) SAVEPOINT active_record_2
2342
- SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "34055c552d93846e6976"], ["name", "Norris Morissette MD"], ["oauth_token", "6d8c236834b7a16a1c354aed81204998"], ["refresh_token", "33a3cf314cc4dbdf9766b58b4f1492fc"], ["instance_url", "http://bartell.name/carlee_mosciski"], ["created_at", "2018-11-27 18:31:46.355380"], ["updated_at", "2018-11-27 18:31:46.355380"]]
2343
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE ("openstax_salesforce_users"."id" != ?) [["id", 1]]
2344
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2345
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2346
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
2347
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
2348
-  (0.0ms) SAVEPOINT active_record_2
2349
- SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
2350
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2351
- Redirected to http://test.host/admin/salesforce/
2352
- Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
2353
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2354
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2355
-  (0.0ms) SAVEPOINT active_record_1
2356
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2357
-  (0.1ms) SAVEPOINT active_record_1
2358
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
2359
- Filter chain halted as #<Proc:0x00007f960cea5b10@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
2360
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2361
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2362
-  (0.3ms) rollback transaction
2363
-  (0.0ms) begin transaction
2364
-  (0.0ms) commit transaction
2365
-  (0.0ms) begin transaction
2366
-  (0.0ms) SAVEPOINT active_record_1
2367
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2368
-  (0.0ms) SAVEPOINT active_record_1
2369
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2370
-  (0.0ms) rollback transaction
2371
-  (0.1ms) begin transaction
2372
-  (0.0ms) commit transaction
2373
-  (0.0ms) begin transaction
2374
-  (0.0ms) SAVEPOINT active_record_1
2375
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2376
-  (0.1ms) SAVEPOINT active_record_1
2377
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2378
-  (0.0ms) SAVEPOINT active_record_1
2379
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2380
-  (0.0ms) SAVEPOINT active_record_1
2381
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2382
-  (0.0ms) SAVEPOINT active_record_1
2383
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2384
-  (0.0ms) SAVEPOINT active_record_1
2385
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2386
-  (0.0ms) SAVEPOINT active_record_1
2387
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2388
-  (0.0ms) SAVEPOINT active_record_1
2389
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2390
-  (0.0ms) SAVEPOINT active_record_1
2391
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2392
-  (0.0ms) SAVEPOINT active_record_1
2393
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2394
-  (0.0ms) SAVEPOINT active_record_1
2395
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2396
-  (0.0ms) SAVEPOINT active_record_1
2397
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2398
-  (0.0ms) SAVEPOINT active_record_1
2399
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2400
-  (0.0ms) SAVEPOINT active_record_1
2401
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2402
-  (0.1ms) SAVEPOINT active_record_1
2403
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2404
-  (0.0ms) SAVEPOINT active_record_1
2405
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2406
-  (0.0ms) SAVEPOINT active_record_1
2407
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2408
-  (0.0ms) SAVEPOINT active_record_1
2409
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2410
-  (0.0ms) SAVEPOINT active_record_1
2411
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2412
-  (0.0ms) SAVEPOINT active_record_1
2413
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2414
-  (0.1ms) SAVEPOINT active_record_1
2415
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2416
-  (0.0ms) SAVEPOINT active_record_1
2417
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2418
-  (0.0ms) rollback transaction
2419
-  (0.0ms) begin transaction
2420
-  (0.1ms) commit transaction
2421
-  (0.0ms) begin transaction
2422
-  (0.0ms) SAVEPOINT active_record_1
2423
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2424
-  (0.1ms) SAVEPOINT active_record_1
2425
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2426
-  (0.0ms) rollback transaction
2427
-  (0.0ms) begin transaction
2428
-  (0.0ms) commit transaction
2429
-  (0.0ms) begin transaction
2430
-  (0.0ms) SAVEPOINT active_record_1
2431
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2432
-  (0.0ms) SAVEPOINT active_record_1
2433
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2434
-  (0.0ms) SAVEPOINT active_record_1
2435
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2436
-  (0.0ms) SAVEPOINT active_record_1
2437
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2438
-  (0.0ms) SAVEPOINT active_record_1
2439
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2440
-  (0.0ms) SAVEPOINT active_record_1
2441
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2442
-  (0.0ms) rollback transaction
2443
-  (0.0ms) begin transaction
2444
-  (0.0ms) commit transaction
2445
-  (0.0ms) begin transaction
2446
-  (0.0ms) SAVEPOINT active_record_1
2447
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2448
-  (0.0ms) SAVEPOINT active_record_1
2449
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2450
-  (0.0ms) rollback transaction
2451
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2452
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2453
-  (0.1ms) DROP TABLE IF EXISTS "openstax_salesforce_users"
2454
-  (1.0ms) SELECT sqlite_version(*)
2455
-  (1.4ms) 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)
2456
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2457
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2458
-  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2459
-  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2460
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2461
-  (0.0ms) begin transaction
2462
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-10-11 15:11:53.943921"], ["updated_at", "2019-10-11 15:11:53.943921"]]
2463
-  (0.9ms) commit transaction
2464
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2465
-  (0.0ms) begin transaction
2466
-  (0.0ms) commit transaction
2467
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2468
-  (0.1ms) PRAGMA foreign_keys
2469
-  (0.0ms) PRAGMA foreign_keys = OFF
2470
-  (1.1ms) DELETE FROM "openstax_salesforce_users";
2471
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2472
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
2473
-  (1.1ms) DELETE FROM "ar_internal_metadata";
2474
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2475
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
2476
-  (0.0ms) PRAGMA foreign_keys = 1
2477
-  (0.0ms) begin transaction
2478
-  (0.0ms) commit transaction
2479
-  (0.0ms) begin transaction
2480
-  (0.0ms) SAVEPOINT active_record_1
2481
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2482
-  (0.0ms) SAVEPOINT active_record_1
2483
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2484
-  (0.1ms) rollback transaction
2485
-  (0.0ms) begin transaction
2486
-  (0.0ms) commit transaction
2487
-  (0.0ms) begin transaction
2488
-  (0.0ms) SAVEPOINT active_record_1
2489
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2490
-  (0.0ms) SAVEPOINT active_record_1
2491
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
2492
- Filter chain halted as #<Proc:0x00007fbae860af68@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
2493
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2494
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2495
-  (0.0ms) SAVEPOINT active_record_1
2496
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2497
-  (0.0ms) SAVEPOINT active_record_1
2498
- Processing by OpenStax::Salesforce::ApplicationController#index as HTML
2499
- Rendering text template
2500
- Rendered text template (0.0ms)
2501
- Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
2502
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2503
-  (0.0ms) rollback transaction
2504
-  (0.0ms) begin transaction
2505
-  (0.0ms) commit transaction
2506
-  (0.0ms) begin transaction
2507
-  (0.0ms) SAVEPOINT active_record_1
2508
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2509
-  (0.0ms) SAVEPOINT active_record_1
2510
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2511
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
2512
- 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]]
2513
-  (0.0ms) SAVEPOINT active_record_2
2514
- OpenStax::Salesforce::User Create (0.3ms) 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-10-11 15:11:56.687643"], ["updated_at", "2019-10-11 15:11:56.687643"]]
2515
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
2516
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2517
- Redirected to http://:/admin/salesforce/
2518
- Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
2519
-  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2520
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2521
-  (0.0ms) SAVEPOINT active_record_1
2522
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2523
-  (0.0ms) SAVEPOINT active_record_1
2524
-  (0.1ms) SAVEPOINT active_record_2
2525
- 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", "Royal Bogisich"], ["uid", "71dce472b83494e03056"], ["oauth_token", "db9ad27deb172f743d26844637523213"], ["refresh_token", "f353c230eb6a51f7c46d9d6c1e2dc9c1"], ["instance_url", "http://collier.info/britni_mosciski"], ["created_at", "2019-10-11 15:11:57.603875"], ["updated_at", "2019-10-11 15:11:57.603875"]]
2526
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2527
-  (0.0ms) SAVEPOINT active_record_2
2528
- 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", "Katharine Maggio"], ["uid", "4f1ca83db4be3450e89f"], ["oauth_token", "1fe1758c761bb3db45a54e7c71ac4665"], ["refresh_token", "ce287fe4bd04aaf15ec3f43970eb0770"], ["instance_url", "http://sawayn.com/chadwick"], ["created_at", "2019-10-11 15:11:57.606371"], ["updated_at", "2019-10-11 15:11:57.606371"]]
2529
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2530
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2531
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
2532
- 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]]
2533
-  (0.0ms) SAVEPOINT active_record_2
2534
- 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-10-11 15:11:57.609593"], ["updated_at", "2019-10-11 15:11:57.609593"]]
2535
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 3]]
2536
- OpenStax::Salesforce::User Destroy (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
2537
- OpenStax::Salesforce::User Destroy (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
2538
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2539
- Redirected to http://:/admin/salesforce/
2540
- Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
2541
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2542
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
2543
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2544
-  (0.0ms) SAVEPOINT active_record_1
2545
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2546
-  (0.0ms) SAVEPOINT active_record_1
2547
-  (0.1ms) SAVEPOINT active_record_2
2548
- 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", "David Runte"], ["uid", "someuid"], ["oauth_token", "f18ef1ea63a04376df7fc8bc7ec94707"], ["refresh_token", "16ca77c5ede952e9394a51731ea38997"], ["instance_url", "http://hegmann.io/wallace.mcglynn"], ["created_at", "2019-10-11 15:11:57.617100"], ["updated_at", "2019-10-11 15:11:57.617100"]]
2549
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
2550
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2551
- Processing by OpenStax::Salesforce::SettingsController#callback as HTML
2552
- 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]]
2553
-  (0.0ms) SAVEPOINT active_record_2
2554
- OpenStax::Salesforce::User Update (0.1ms) 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-10-11 15:11:57.620557"], ["id", 1]]
2555
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
2556
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2557
- Redirected to http://:/admin/salesforce/
2558
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
2559
- OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2560
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2561
-  (0.1ms) SAVEPOINT active_record_1
2562
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2563
-  (0.0ms) SAVEPOINT active_record_1
2564
-  (0.0ms) SAVEPOINT active_record_2
2565
- 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", "Sheena Hansen"], ["uid", "e7e1a2c32cb08c3fee96"], ["oauth_token", "fb970ee55cc59cfe81948bc867fef1da"], ["refresh_token", "53313fb3b42e3f13e90a0171fd16a19b"], ["instance_url", "http://watsicalynch.net/ema"], ["created_at", "2019-10-11 15:11:57.637093"], ["updated_at", "2019-10-11 15:11:57.637093"]]
2566
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != ? [["id", 1]]
2567
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2568
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2569
- Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
2570
- OpenStax::Salesforce::User Load (0.0ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
2571
-  (0.0ms) SAVEPOINT active_record_2
2572
- OpenStax::Salesforce::User Destroy (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
2573
-  (0.0ms) RELEASE SAVEPOINT active_record_2
2574
- Redirected to http://test.host/admin/salesforce/
2575
- Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
2576
-  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
2577
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2578
-  (0.0ms) SAVEPOINT active_record_1
2579
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2580
-  (0.0ms) SAVEPOINT active_record_1
2581
- Processing by OpenStax::Salesforce::SettingsController#show as HTML
2582
- Filter chain halted as #<Proc:0x00007fbae860af68@/Users/dante/Desktop/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
2583
- Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2584
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2585
-  (0.8ms) rollback transaction
2586
-  (0.0ms) begin transaction
2587
-  (0.0ms) commit transaction
2588
-  (0.0ms) begin transaction
2589
-  (0.0ms) SAVEPOINT active_record_1
2590
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2591
-  (0.0ms) SAVEPOINT active_record_1
2592
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2593
-  (0.0ms) rollback transaction
2594
-  (0.0ms) begin transaction
2595
-  (0.0ms) commit transaction
2596
-  (0.0ms) begin transaction
2597
-  (0.0ms) SAVEPOINT active_record_1
2598
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2599
-  (0.0ms) SAVEPOINT active_record_1
2600
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2601
-  (0.0ms) SAVEPOINT active_record_1
2602
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2603
-  (0.0ms) SAVEPOINT active_record_1
2604
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2605
-  (0.0ms) SAVEPOINT active_record_1
2606
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2607
-  (0.0ms) SAVEPOINT active_record_1
2608
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2609
-  (0.1ms) SAVEPOINT active_record_1
2610
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2611
-  (0.0ms) SAVEPOINT active_record_1
2612
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2613
-  (0.0ms) SAVEPOINT active_record_1
2614
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2615
-  (0.0ms) SAVEPOINT active_record_1
2616
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2617
-  (0.0ms) SAVEPOINT active_record_1
2618
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2619
-  (0.0ms) SAVEPOINT active_record_1
2620
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2621
-  (0.0ms) SAVEPOINT active_record_1
2622
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2623
-  (0.0ms) SAVEPOINT active_record_1
2624
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2625
-  (0.0ms) SAVEPOINT active_record_1
2626
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2627
-  (0.0ms) SAVEPOINT active_record_1
2628
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2629
-  (0.0ms) SAVEPOINT active_record_1
2630
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2631
-  (0.0ms) SAVEPOINT active_record_1
2632
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2633
-  (0.0ms) SAVEPOINT active_record_1
2634
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2635
-  (0.0ms) SAVEPOINT active_record_1
2636
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2637
-  (0.0ms) SAVEPOINT active_record_1
2638
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2639
-  (0.0ms) SAVEPOINT active_record_1
2640
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2641
-  (0.0ms) rollback transaction
2642
-  (0.0ms) begin transaction
2643
-  (0.0ms) commit transaction
2644
-  (0.0ms) begin transaction
2645
-  (0.0ms) SAVEPOINT active_record_1
2646
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2647
-  (0.0ms) SAVEPOINT active_record_1
2648
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2649
-  (0.0ms) rollback transaction
2650
-  (0.0ms) begin transaction
2651
-  (0.0ms) commit transaction
2652
-  (0.0ms) begin transaction
2653
-  (0.0ms) SAVEPOINT active_record_1
2654
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2655
-  (0.0ms) SAVEPOINT active_record_1
2656
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2657
-  (0.0ms) SAVEPOINT active_record_1
2658
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2659
-  (0.0ms) SAVEPOINT active_record_1
2660
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2661
-  (0.0ms) SAVEPOINT active_record_1
2662
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2663
-  (0.0ms) SAVEPOINT active_record_1
2664
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2665
-  (0.0ms) rollback transaction
2666
-  (0.0ms) begin transaction
2667
-  (0.0ms) commit transaction
2668
-  (0.0ms) begin transaction
2669
-  (0.0ms) SAVEPOINT active_record_1
2670
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2671
-  (0.0ms) SAVEPOINT active_record_1
2672
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2673
-  (0.0ms) rollback transaction