openstax_salesforce 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f268e88cc5a00e262e1d876af4c1f028fd024b48
4
- data.tar.gz: c865a89b68484c55c59b427b88ff3da8c2ec4a23
3
+ metadata.gz: 9903e27b9f7c96bd9109d2d0f68707a154a3976b
4
+ data.tar.gz: 532e2f3b45e249947ecbefef71b8b4c46024eea9
5
5
  SHA512:
6
- metadata.gz: 937b866c03b31cb9123d5d486fbc69bf541414ec8d1fda6a925dceb5239301fc5df46806b07f2547a5f7411e04054b4869cd5f710b93b8fad460a5ab83c8fd41
7
- data.tar.gz: 43fe60145fa46fa01882f3e60f295f7c4aca70d505c49ecf59336be084a751a60a1a44a7544d250b4da2b471bca917bd4f29cf7c00f1c7d59412f1c67ed25ef0
6
+ metadata.gz: 280be839937bdb59ae6eb2dda7e01a1e24033e157dab7dee7f5ab0aa11faaa8d6bc232bf64ca1b076c6890200bbc64a02a51ec118f39719ce06126887be86138
7
+ data.tar.gz: 59d4b57c579ed9aaa8c9fb87a4491371b5453fa2a24478660a2cc24ac0d2cd8655f4137d564eb5adac9e7ccc9db2900f14c9c145452298eb9afadf14bad97867
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # OpenStax::Salesforce
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/openstax_salesforce.svg)](http://badge.fury.io/rb/fine_print)
3
+ [![Gem Version](https://badge.fury.io/rb/openstax_salesforce.svg)](http://badge.fury.io/rb/openstax_salesforce)
4
4
  [![Build Status](https://travis-ci.org/openstax/openstax_salesforce.svg?branch=master)](https://travis-ci.org/openstax/openstax_salesforce)
5
5
  [![Code Climate](https://codeclimate.com/github/openstax/openstax_salesforce/badges/gpa.svg)](https://codeclimate.com/github/openstax/openstax_salesforce)
6
6
 
@@ -1,5 +1,9 @@
1
1
  module OpenStax::Salesforce
2
2
  class ApplicationController < ActionController::Base
3
3
  protect_from_forgery with: :exception
4
+
5
+ before_filter do
6
+ OpenStax::Salesforce.configuration.authenticate_admin_proc.call(self)
7
+ end
4
8
  end
5
9
  end
@@ -8,7 +8,7 @@ module OpenStax::Salesforce
8
8
  after_save :ensure_only_one_record
9
9
 
10
10
  def self.save_from_omniauth!(auth)
11
- where(auth.slice(:uid).permit!).first_or_initialize.tap do |user|
11
+ where(uid: auth[:uid]).first_or_initialize.tap do |user|
12
12
  user.uid = auth.uid
13
13
  user.name = auth.info.name
14
14
  user.oauth_token = auth.credentials.token
@@ -19,7 +19,7 @@ module OpenStax::Salesforce
19
19
  end
20
20
 
21
21
  def ensure_only_one_record
22
- self.class.where{id != self.id}.destroy_all
22
+ self.class.where{id != my{self.id}}.destroy_all
23
23
  end
24
24
  end
25
25
  end
@@ -7,15 +7,13 @@ OpenStax::Salesforce.configure do |config|
7
7
  # Layout to be used for OpenStax::Salesforce's controllers
8
8
  config.layout = 'application'
9
9
 
10
- # Proc called with a controller as self. Returns the current user.
11
- config.current_user_proc = -> { nil }
12
-
13
- # Proc called with a user as argument and a controller as self.
10
+ # Proc called with an argument of the controller where this is called.
14
11
  # This proc is called when a user tries to access the engine's controllers.
15
12
  # Should raise an exception, render or redirect unless the user is a manager
16
13
  # or admin. The default renders 403 Forbidden for all users.
17
- # Note: Proc must account for nil users, if current_user_proc returns nil.
18
- config.authenticate_admin_proc = ->(user) { head(:forbidden) }
14
+ config.authenticate_admin_proc = ->(controller) {
15
+ controller.head(:forbidden)
16
+ }
19
17
 
20
18
  # Consumer key and secret for connecting to the Salesforce app
21
19
  config.salesforce_client_key = 'put_real_key_value_here'
@@ -0,0 +1,57 @@
1
+ module OpenStax::Salesforce::Remote
2
+ class ClassSize < ActiveForce::SObject
3
+
4
+ field :concept_coach_approved, from: "Concept_Coach_Approved__c", as: :boolean
5
+ field :course_name, from: "Course_Name__c"
6
+ field :course_id, from: "Tutor_ID__c"
7
+ field :created_at, from: "Tutor_Created_Date__c", as: :datetime
8
+ field :num_students, from: "Student_using_Tutor__c", as: :int
9
+ field :num_teachers, from: "Active_Teachers__c", as: :int
10
+ field :num_sections, from: "Number_of_Sections__c", as: :int
11
+ field :teacher_join_url, from: "Teacher_Join_URL__c"
12
+ field :error, from: "Tutor_Error__c"
13
+ field :book_name, from: "Book_Name__c"
14
+ field :school, from: "School__c"
15
+ field :term_year, from: "TermYear__c"
16
+ field :opportunity_id, from: 'Opportunity__c'
17
+ field :os_ancillary_id, from: "OSA__c"
18
+
19
+ belongs_to :opportunity, model: OpenStax::Salesforce::Remote::Opportunity
20
+
21
+ self.table_name = 'Class_Size__c'
22
+
23
+ def term_year_object
24
+ @term_year_object ||= OpenStax::Salesforce::Remote::TermYear.from_string(self.term_year)
25
+ end
26
+
27
+ def reset_stats
28
+ self.num_students = 0
29
+ self.num_teachers = 0
30
+ self.num_sections = 0
31
+ end
32
+
33
+ # Methods to make this legacy SF object compatible with current OsAncillary interface.
34
+ # All ClassSize records were used for college CC courses.
35
+
36
+ def is_tutor?
37
+ false
38
+ end
39
+
40
+ def is_concept_coach?
41
+ true
42
+ end
43
+
44
+ def valid_product?
45
+ true
46
+ end
47
+
48
+ def is_college?
49
+ true
50
+ end
51
+
52
+ def product
53
+ "Concept Coach"
54
+ end
55
+
56
+ end
57
+ end
@@ -0,0 +1,30 @@
1
+ module OpenStax::Salesforce::Remote
2
+ class IndividualAdoption < ActiveForce::SObject
3
+
4
+ field :book_name, from: "Book_Text__c"
5
+ field :contact_id, from: "Contact__c"
6
+ field :book_id, from: "Book__c"
7
+ field :school_id, from: "Account__c"
8
+ field :school_year, from: "School_Year__c"
9
+ field :fall_start_date, from: "Fall_Start_Date__c"
10
+ field :summer_start_date, from: "Summer_Start_Date__c"
11
+ field :winter_start_date, from: "Winter_Start_Date__c"
12
+ field :spring_start_date, from: "Spring_Start_Date__c"
13
+ field :adoption_level, from: "Adoption_Level__c"
14
+ field :description, from: "Description__c"
15
+
16
+ # Deprecated
17
+ field :term_year, from: "TermYear__c"
18
+ field :class_start_date, from: "Class_Start_Date__c"
19
+
20
+ belongs_to :school, model: OpenStax::Salesforce::Remote::School
21
+ belongs_to :book, model: OpenStax::Salesforce::Remote::Book
22
+
23
+ self.table_name = 'Individual_Adoption__c'
24
+
25
+ def term_year_object
26
+ @term_year_object ||= OpenStax::Salesforce::Remote::TermYear.from_string(term_year)
27
+ end
28
+
29
+ end
30
+ end
@@ -0,0 +1,16 @@
1
+ module OpenStax::Salesforce::Remote
2
+ class Opportunity < ActiveForce::SObject
3
+
4
+ field :term_year, from: "TermYear__c"
5
+ field :book_name, from: "Book_Text__c"
6
+ field :contact_id, from: "Contact__c"
7
+ field :new, from: "New__c", as: :boolean
8
+
9
+ self.table_name = 'Opportunity'
10
+
11
+ def term_year_object
12
+ @term_year_object ||= OpenStax::Salesforce::Remote::TermYear.from_string(term_year)
13
+ end
14
+
15
+ end
16
+ end
@@ -0,0 +1,87 @@
1
+ module OpenStax::Salesforce::Remote
2
+ class OsAncillary < ActiveForce::SObject
3
+
4
+ field :status, from: "Status__c", as: :picklist
5
+ field :product, from: "Product__c", as: :picklist
6
+ field :account_type, from: "Account_Type__c"
7
+ field :book_name, from: "Book_Name__c"
8
+ field :course_start_date, from: "Class_Start_Date__c", as: :date
9
+ field :course_name, from: "Course_Name__c"
10
+ field :course_code, from: "Course_Code__c"
11
+ field :course_id, from: "External_ID__c"
12
+ field :created_at, from: "E_Created_Date__c", as: :datetime
13
+ field :error, from: "Error__c"
14
+ field :general_access_url, from: "General_Access_URL__c"
15
+ field :teacher_join_url, from: "Teacher_Join_URL__c"
16
+ field :school, from: "School_Name__c"
17
+ field :num_teachers, from: "Active_Teachers__c", as: :int
18
+ field :num_sections, from: "Sections__c", as: :int
19
+ field :num_students, from: "Students_Using__c", as: :int
20
+ field :term_year, from: "TermYear__c"
21
+ field :term, from: "Term__c"
22
+ field :opportunity_id, from: 'Opportunity__c'
23
+ field :individual_adoption_id, from: "Individual_Adoption__c"
24
+ field :contact_id, from: "Contact__c"
25
+
26
+ belongs_to :opportunity, model: OpenStax::Salesforce::Remote::Opportunity
27
+
28
+ self.table_name = 'OS_Ancillary__c'
29
+
30
+ def reset_stats
31
+ self.num_students = 0
32
+ self.num_teachers = 0
33
+ self.num_sections = 0
34
+ end
35
+
36
+ def is_concept_coach?
37
+ "Concept Coach" == product
38
+ end
39
+
40
+ def is_tutor?
41
+ "Tutor" == product
42
+ end
43
+
44
+ def valid_product?
45
+ ["Tutor", "Concept Coach"].include?(product)
46
+ end
47
+
48
+ def term_year_object
49
+ @term_year_object ||= OpenStax::Salesforce::Remote::TermYear.from_string(self.term_year)
50
+ end
51
+
52
+ def is_college?
53
+ # Seems like college account types are more likely to be added to
54
+ # more than high school types, so match non college types and negate
55
+ !NON_COLLEGE_ACCOUNT_TYPES.include?(account_type)
56
+ end
57
+
58
+ # TODO warn somewhere if come across unknown account type
59
+ def known_account_type?
60
+ ACCOUNT_TYPES.include(account_type)
61
+ end
62
+
63
+ NON_COLLEGE_ACCOUNT_TYPES = [
64
+ "High School",
65
+ "Elementary School",
66
+ "Middle/Junior High School",
67
+ "K-12 School"
68
+ ]
69
+
70
+ # Unused, here for posterity
71
+ COLLEGE_ACCOUNT_TYPES = [
72
+ "College/University (4)",
73
+ "Technical/Community College (2)",
74
+ "Career School/For-Profit (2)",
75
+ "For-Profit Tutoring",
76
+ ]
77
+
78
+ ACCOUNT_TYPES = [
79
+ COLLEGE_ACCOUNT_TYPES,
80
+ NON_COLLEGE_ACCOUNT_TYPES,
81
+ "Other"
82
+ ].flatten
83
+
84
+ STATUS_APPROVED = "Approved"
85
+
86
+ end
87
+ end
@@ -0,0 +1,80 @@
1
+ module OpenStax::Salesforce::Remote
2
+ class TermYear
3
+
4
+ # TermYear strings in Salesforce look like:
5
+ # 2015 - 16 Fall
6
+ # 2015 - 16 Spring
7
+ # One day in the not-distant future we will probably be adding a Summer term
8
+
9
+ TERMS = [:fall, :spring]
10
+
11
+ attr_reader :start_year, :end_year, :term
12
+
13
+ def initialize(start_year:, term:)
14
+ raise "Invalid term #{term}" if !TERMS.include?(term)
15
+ @start_year = start_year
16
+ @end_year = [:fall, :spring].include?(term) ? start_year + 1 : start_year
17
+ @term = term
18
+ end
19
+
20
+ def self.guess_from_created_at(created_at)
21
+ spring_to_fall_cutoff = Time.zone.local(created_at.year, 4, 15, 00, 00)
22
+ fall_to_spring_cutoff = Time.zone.local(created_at.year, 11, 15, 00, 00)
23
+
24
+ if created_at < spring_to_fall_cutoff
25
+ new(start_year: created_at.year - 1, term: :spring)
26
+ elsif created_at > fall_to_spring_cutoff
27
+ new(start_year: created_at.year, term: :spring)
28
+ else
29
+ new(start_year: created_at.year, term: :fall)
30
+ end
31
+ end
32
+
33
+ def self.from_string(string)
34
+ return if string.blank?
35
+
36
+ string.match(/20(\d\d) - (\d\d) (\w+)/).tap do |match|
37
+ raise(ParseError, "Cannot parse '#{string}' as a TermYear") if match.nil?
38
+ end
39
+
40
+ term = $3.downcase.to_sym
41
+ start_year = "20#{$1}".to_i
42
+ raise "Non-sequential years in TermYear: '#{string}'" if $2.to_i != $1.to_i + 1
43
+
44
+ new(start_year: start_year, term: term)
45
+ end
46
+
47
+ def next
48
+ fall? ?
49
+ self.class.new(start_year: start_year, term: :spring) :
50
+ self.class.new(start_year: start_year + 1, term: :fall)
51
+ end
52
+
53
+ def to_s
54
+ "#{start_year} - #{end_year.to_s[2..3]} #{fall? ? 'Fall' : 'Spring'}"
55
+ end
56
+
57
+ def fall?
58
+ :fall == @term
59
+ end
60
+
61
+ def spring?
62
+ !fall?
63
+ end
64
+
65
+ def ==(other)
66
+ to_s == other.to_s
67
+ end
68
+
69
+ def eql?(other)
70
+ self == other
71
+ end
72
+
73
+ def dup
74
+ self.class.new(start_year: start_year, term: term)
75
+ end
76
+
77
+ class ParseError < StandardError; end
78
+
79
+ end
80
+ end
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Salesforce
3
- VERSION = "0.11.0"
3
+ VERSION = "0.12.0"
4
4
  end
5
5
  end
@@ -8,8 +8,13 @@ require "openstax/salesforce/engine"
8
8
  require "openstax/salesforce/user_missing"
9
9
  require "openstax/salesforce/client"
10
10
 
11
+ require "openstax/salesforce/remote/term_year"
11
12
  require "openstax/salesforce/remote/book"
12
13
  require "openstax/salesforce/remote/school"
14
+ require "openstax/salesforce/remote/opportunity"
15
+ require "openstax/salesforce/remote/individual_adoption"
16
+ require "openstax/salesforce/remote/class_size"
17
+ require "openstax/salesforce/remote/os_ancillary"
13
18
  require "openstax/salesforce/remote/contact"
14
19
  require "openstax/salesforce/remote/lead"
15
20
 
@@ -27,7 +32,6 @@ module OpenStax
27
32
  # See `config/initializers/openstax_salesforce.rb` for documentation on options
28
33
  class Configuration
29
34
  attr_accessor :layout
30
- attr_accessor :current_user_proc
31
35
  attr_accessor :authenticate_admin_proc
32
36
  attr_accessor :salesforce_client_key
33
37
  attr_accessor :salesforce_client_secret
@@ -1,3 +1,4 @@
1
1
  Rails.application.routes.draw do
2
- mount OpenStax::Salesforce::Engine => "/openstax_salesforce"
2
+ mount OpenStax::Salesforce::Engine => "/admin/salesforce"
3
+ OpenStax::Salesforce.set_top_level_routes(self)
3
4
  end
Binary file
@@ -49,3 +49,1704 @@ Migrating to InstallOpenStaxSalesforce (0)
49
49
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
50
50
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51
51
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
52
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
53
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
54
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
55
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
56
+ Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms)
57
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
58
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
59
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
60
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
61
+ Rendered text template (0.0ms)
62
+ Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.0ms)
63
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
64
+ Rendered text template (0.0ms)
65
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
66
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
67
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
68
+ Rendered text template (0.0ms)
69
+ Completed 200 OK in 13ms (Views: 13.1ms | ActiveRecord: 0.0ms)
70
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
71
+ Rendered text template (0.0ms)
72
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
73
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
74
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
75
+ Rendered text template (0.0ms)
76
+ Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
77
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
78
+ Rendered text template (0.0ms)
79
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
80
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
81
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
82
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
83
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
84
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
85
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
86
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
87
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
88
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
89
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
90
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
91
+ Filter chain halted as #<Proc:0x007fb9dbf45b18@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
92
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
93
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
94
+ Filter chain halted as #<Proc:0x007fb9dbf45b18@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
95
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
96
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
97
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
98
+ Filter chain halted as #<Proc:0x007f9acc1718d0@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
99
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
100
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
101
+ Rendered text template (0.0ms)
102
+ Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
103
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
104
+  (0.6ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
105
+  (0.1ms) begin transaction
106
+ SQL (0.7ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "411a76e4c5bf554b0baa"], ["name", "Magnolia Raynor"], ["oauth_token", "c8b30f557cb20a34614b25cacbaf94be"], ["refresh_token", "12fe9c9a7d9b1f31ed186359156bd769"], ["instance_url", "http://buckridgegibson.com/mary.runte"], ["created_at", "2017-05-10 00:58:43.735538"], ["updated_at", "2017-05-10 00:58:43.735538"]]
107
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
108
+  (0.7ms) commit transaction
109
+  (0.0ms) begin transaction
110
+ SQL (0.2ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "9d2053f5cc6dbc2d6714"], ["name", "Mr. Roel Hayes"], ["oauth_token", "8f4bcc676c6f08e7911d1799d6ff655e"], ["refresh_token", "1a30881d5659bfd1c0280f5247134565"], ["instance_url", "http://okonmohr.net/rex.huel"], ["created_at", "2017-05-10 00:58:43.741967"], ["updated_at", "2017-05-10 00:58:43.741967"]]
111
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
112
+  (0.7ms) commit transaction
113
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
114
+  (0.1ms) begin transaction
115
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "3911e1203daccf7dd708"], ["name", "Samara Becker"], ["oauth_token", "a585c66e7c981885bcb4f00417ffe03b"], ["refresh_token", "1dc015d088c7041f9f8660cd4617a050"], ["instance_url", "http://abshire.name/kayleigh"], ["created_at", "2017-05-10 00:58:43.749029"], ["updated_at", "2017-05-10 00:58:43.749029"]]
116
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
117
+  (0.7ms) commit transaction
118
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
119
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
120
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
121
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
122
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
123
+  (0.0ms) begin transaction
124
+ SQL (0.5ms) UPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 00:59:27.839281"], ["id", 1]]
125
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
126
+  (0.7ms) commit transaction
127
+ Redirected to http://test.host/admin/salesforce/
128
+ Completed 302 Found in 25ms (ActiveRecord: 1.6ms)
129
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
130
+  (0.1ms) begin transaction
131
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "f5bbcd87d1d912ba6f8a"], ["name", "Eudora Bednar"], ["oauth_token", "23ad31ba076b575c261aca37af04d94e"], ["refresh_token", "11d92dc97c3d3e507ab8f7fe79036bbf"], ["instance_url", "http://kunze.info/jeie"], ["created_at", "2017-05-10 00:59:28.356160"], ["updated_at", "2017-05-10 00:59:28.356160"]]
132
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
133
+  (2.1ms) commit transaction
134
+  (0.1ms) begin transaction
135
+ SQL (0.2ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "45559684c14d2c90543f"], ["name", "Lindsay Bins"], ["oauth_token", "55b173992288c130a4eaff4a7cdd026d"], ["refresh_token", "69b777de37a3a52e1282caf73e157320"], ["instance_url", "http://willms.com/devon"], ["created_at", "2017-05-10 00:59:28.361602"], ["updated_at", "2017-05-10 00:59:28.361602"]]
136
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
137
+  (0.7ms) commit transaction
138
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
139
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
140
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
141
+  (0.0ms) begin transaction
142
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
143
+  (0.1ms) commit transaction
144
+ Redirected to http://test.host/admin/salesforce/
145
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
146
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
147
+  (0.0ms) begin transaction
148
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "b98763f31ce4645534c3"], ["name", "Ms. Yvonne Emard"], ["oauth_token", "712189b2179e70ab4e42a2acb768f729"], ["refresh_token", "ae4cf0b669da3adbcf62c0302b2936ee"], ["instance_url", "http://donnellycarroll.biz/barney"], ["created_at", "2017-05-10 00:59:28.379374"], ["updated_at", "2017-05-10 00:59:28.379374"]]
149
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
150
+  (0.7ms) commit transaction
151
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
152
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
153
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
154
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
155
+ OpenStax::Salesforce::User Load (0.5ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
156
+  (0.5ms) begin transaction
157
+ OpenStax::Salesforce::User Load (0.5ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
158
+  (0.3ms) commit transaction
159
+  (0.2ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
160
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
161
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
162
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
163
+  (0.6ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
164
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
165
+  (0.1ms) begin transaction
166
+  (0.2ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
167
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
168
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
169
+  (0.9ms) DELETE FROM "openstax_salesforce_users";
170
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
171
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
172
+  (0.0ms) begin transaction
173
+  (0.0ms) commit transaction
174
+  (0.0ms) begin transaction
175
+  (0.0ms) SAVEPOINT active_record_1
176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
177
+  (0.0ms) SAVEPOINT active_record_1
178
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
179
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
180
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
181
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
182
+  (0.1ms) SAVEPOINT active_record_2
183
+ SQL (0.5ms) 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", "2017-05-10 01:06:34.370353"], ["updated_at", "2017-05-10 01:06:34.370353"]]
184
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
185
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
186
+  (0.1ms) RELEASE SAVEPOINT active_record_2
187
+ Redirected to http://test.host/admin/salesforce/
188
+ Completed 302 Found in 13155ms (ActiveRecord: 1.4ms)
189
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
190
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
191
+  (0.1ms) SAVEPOINT active_record_1
192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
193
+  (0.0ms) SAVEPOINT active_record_1
194
+  (0.1ms) SAVEPOINT active_record_2
195
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "5b4d6de96004b482793a"], ["name", "Harmony Zieme"], ["oauth_token", "fc25f0e538cf67e83c7a541c605f9532"], ["refresh_token", "a3948b322571b5bbd9b07ee41e2842d6"], ["instance_url", "http://denesik.io/brionna.abshire"], ["created_at", "2017-05-10 01:06:39.364485"], ["updated_at", "2017-05-10 01:06:39.364485"]]
196
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
197
+  (0.1ms) RELEASE SAVEPOINT active_record_2
198
+  (0.1ms) SAVEPOINT active_record_2
199
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "b1517bf0b410470a1d37"], ["name", "Ms. Bruce Bogan"], ["oauth_token", "0b0d202933532f3b703e5cbf8ae2102b"], ["refresh_token", "270bb1e3f4601af5082fd0e3a397fd33"], ["instance_url", "http://beer.net/bethany.pfannerstill"], ["created_at", "2017-05-10 01:06:40.227701"], ["updated_at", "2017-05-10 01:06:40.227701"]]
200
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
201
+  (0.1ms) RELEASE SAVEPOINT active_record_2
202
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
203
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
204
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
205
+  (0.1ms) SAVEPOINT active_record_2
206
+ SQL (0.2ms) UPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 01:06:41.510661"], ["id", 1]]
207
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
208
+  (0.1ms) RELEASE SAVEPOINT active_record_2
209
+ Redirected to http://test.host/admin/salesforce/
210
+ Completed 302 Found in 1223ms (ActiveRecord: 0.7ms)
211
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
212
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
213
+  (0.0ms) SAVEPOINT active_record_1
214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
215
+  (0.0ms) SAVEPOINT active_record_1
216
+  (0.0ms) SAVEPOINT active_record_2
217
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "e9a8468761161aff2ec2"], ["name", "Kristina Schaden"], ["oauth_token", "8624019c8750d569bfff7fdc7b0f08c7"], ["refresh_token", "522a8f7959a5f171128b47c2eded0e59"], ["instance_url", "http://gottlieb.info/lafayette_zemlak"], ["created_at", "2017-05-10 01:06:42.061002"], ["updated_at", "2017-05-10 01:06:42.061002"]]
218
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
219
+  (0.1ms) RELEASE SAVEPOINT active_record_2
220
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
221
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
222
+  (0.1ms) 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.5ms) rollback transaction
227
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
228
+  (2.5ms) DELETE FROM "openstax_salesforce_users";
229
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
230
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
231
+  (0.1ms) begin transaction
232
+  (0.0ms) commit transaction
233
+  (0.0ms) begin transaction
234
+  (0.1ms) SAVEPOINT active_record_1
235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
236
+  (0.1ms) SAVEPOINT active_record_1
237
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
238
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
239
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
240
+  (0.1ms) SAVEPOINT active_record_2
241
+ 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", "2017-05-10 01:07:05.773855"], ["updated_at", "2017-05-10 01:07:05.773855"]]
242
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
243
+  (0.0ms) RELEASE SAVEPOINT active_record_2
244
+ Redirected to http://test.host/admin/salesforce/
245
+ Completed 302 Found in 17ms (ActiveRecord: 0.8ms)
246
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
247
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
248
+  (0.0ms) SAVEPOINT active_record_1
249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250
+  (0.0ms) SAVEPOINT active_record_1
251
+  (0.1ms) SAVEPOINT active_record_2
252
+ SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "fe9f603efae1713f8de6"], ["name", "Annabel Powlowski"], ["oauth_token", "3be1b142d7f24eec7b6f145b7e6d73cc"], ["refresh_token", "7578592ab664fba62312bfc1a3489ae4"], ["instance_url", "http://pouros.info/demetrius_corkery"], ["created_at", "2017-05-10 01:07:06.284119"], ["updated_at", "2017-05-10 01:07:06.284119"]]
253
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
254
+  (0.1ms) RELEASE SAVEPOINT active_record_2
255
+  (0.0ms) SAVEPOINT active_record_2
256
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "d241c13b7bdb6fbab549"], ["name", "Juanita Johnson DVM"], ["oauth_token", "46baed1fcc40c35a0ce6303b3ba4d39b"], ["refresh_token", "22e3aa8aa65e846d3528bac7e9502644"], ["instance_url", "http://morar.info/arlene"], ["created_at", "2017-05-10 01:07:06.287350"], ["updated_at", "2017-05-10 01:07:06.287350"]]
257
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
258
+  (0.0ms) RELEASE SAVEPOINT active_record_2
259
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
260
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
261
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
262
+  (0.0ms) SAVEPOINT active_record_2
263
+ SQL (0.1ms) UPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 01:07:06.294848"], ["id", 1]]
264
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
265
+  (0.1ms) RELEASE SAVEPOINT active_record_2
266
+ Redirected to http://test.host/admin/salesforce/
267
+ Completed 302 Found in 9ms (ActiveRecord: 0.4ms)
268
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
269
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
270
+  (0.1ms) SAVEPOINT active_record_1
271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
272
+  (0.0ms) SAVEPOINT active_record_1
273
+  (0.0ms) SAVEPOINT active_record_2
274
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "014a680061ae317e97f7"], ["name", "Icie Ryan"], ["oauth_token", "c7a373fc3fd94e86de76b6ef78034045"], ["refresh_token", "92e6f1f1f54cf4e969068feee7d0473a"], ["instance_url", "http://funk.info/mike"], ["created_at", "2017-05-10 01:07:06.325740"], ["updated_at", "2017-05-10 01:07:06.325740"]]
275
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
276
+  (0.0ms) RELEASE SAVEPOINT active_record_2
277
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
278
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
279
+  (0.1ms) SAVEPOINT active_record_1
280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
281
+  (0.0ms) SAVEPOINT active_record_1
282
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
283
+  (2.0ms) rollback transaction
284
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
285
+  (2.5ms) DELETE FROM "openstax_salesforce_users";
286
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
287
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
288
+  (0.0ms) begin transaction
289
+  (0.0ms) commit transaction
290
+  (0.0ms) begin transaction
291
+  (0.0ms) SAVEPOINT active_record_1
292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
293
+  (0.0ms) SAVEPOINT active_record_1
294
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
295
+  (0.2ms) SAVEPOINT active_record_2
296
+ SQL (0.5ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "61e44f186bf21b37d20b"], ["name", "Burnice Rohan"], ["oauth_token", "c32361d747801fbbe817f2ab80cdf457"], ["refresh_token", "c7c4cf550fc96ac9ea3aa351b0f83e02"], ["instance_url", "http://ruecker.name/glenna_rau"], ["created_at", "2017-05-10 01:08:07.042979"], ["updated_at", "2017-05-10 01:08:07.042979"]]
297
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
298
+  (1.9ms) DELETE FROM "openstax_salesforce_users";
299
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
300
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
301
+  (0.0ms) begin transaction
302
+  (0.0ms) commit transaction
303
+  (0.0ms) begin transaction
304
+  (0.0ms) SAVEPOINT active_record_1
305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
306
+  (0.0ms) SAVEPOINT active_record_1
307
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
308
+  (0.1ms) rollback transaction
309
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
310
+  (2.9ms) DELETE FROM "openstax_salesforce_users";
311
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
312
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
313
+  (0.1ms) begin transaction
314
+  (0.0ms) commit transaction
315
+  (0.1ms) begin transaction
316
+  (0.1ms) SAVEPOINT active_record_1
317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
318
+  (0.1ms) SAVEPOINT active_record_1
319
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
320
+  (0.1ms) rollback transaction
321
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
322
+  (2.9ms) DELETE FROM "openstax_salesforce_users";
323
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
324
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
325
+  (0.1ms) begin transaction
326
+  (0.0ms) commit transaction
327
+  (0.0ms) begin transaction
328
+  (0.0ms) SAVEPOINT active_record_1
329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
330
+  (0.0ms) SAVEPOINT active_record_1
331
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
332
+  (0.0ms) rollback transaction
333
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
334
+  (2.2ms) DELETE FROM "openstax_salesforce_users";
335
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
336
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
337
+  (0.0ms) begin transaction
338
+  (0.0ms) commit transaction
339
+  (0.0ms) begin transaction
340
+  (0.0ms) SAVEPOINT active_record_1
341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342
+  (0.0ms) SAVEPOINT active_record_1
343
+  (0.1ms) SAVEPOINT active_record_2
344
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "86d6cf1da26b51755c96"], ["name", "Judson Ruecker"], ["oauth_token", "ef26e11ee6c3fe509b886f13785f4c5f"], ["refresh_token", "eb1d3aa43bc3c1883373f574acec9000"], ["instance_url", "http://kutch.name/tyshawn"], ["created_at", "2017-05-10 01:14:19.314318"], ["updated_at", "2017-05-10 01:14:19.314318"]]
345
+  (0.0ms) RELEASE SAVEPOINT active_record_2
346
+  (0.0ms) SAVEPOINT active_record_2
347
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "3917804267c69ccb8cd8"], ["name", "Mr. Jamaal Koepp"], ["oauth_token", "c5d778036c75de4ec34b3fdb241f2bad"], ["refresh_token", "a66dad3f7a8660acd5514d064ca0a3c3"], ["instance_url", "http://nitzsche.net/ocie.ledner"], ["created_at", "2017-05-10 01:14:19.319079"], ["updated_at", "2017-05-10 01:14:19.319079"]]
348
+  (0.0ms) RELEASE SAVEPOINT active_record_2
349
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
350
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
351
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
352
+  (0.1ms) SAVEPOINT active_record_2
353
+ SQL (0.1ms) UPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 01:14:19.330143"], ["id", 1]]
354
+  (0.2ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
355
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
356
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
357
+  (2.3ms) DELETE FROM "openstax_salesforce_users";
358
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
359
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
360
+  (0.0ms) begin transaction
361
+  (0.0ms) commit transaction
362
+  (0.0ms) begin transaction
363
+  (0.0ms) SAVEPOINT active_record_1
364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
365
+  (0.0ms) SAVEPOINT active_record_1
366
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
367
+  (0.3ms) SAVEPOINT active_record_2
368
+ SQL (0.6ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "ba8b59af2c1aefc803dd"], ["name", "Delaney Mayer I"], ["oauth_token", "11fdb4e7d75c5389890a046b17737d82"], ["refresh_token", "28420916a9ee395493bc2a3d2535daec"], ["instance_url", "http://leffler.co/jace.ledner"], ["created_at", "2017-05-10 01:15:46.231271"], ["updated_at", "2017-05-10 01:15:46.231271"]]
369
+  (0.2ms) RELEASE SAVEPOINT active_record_2
370
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
371
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
372
+  (0.1ms) SAVEPOINT active_record_2
373
+ SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "85a6db0d2fce143f7bf5"], ["name", "Liam Skiles MD"], ["oauth_token", "9b0dd7527dd90856870230b3360b62ed"], ["refresh_token", "bd4e038e6cf56e898003356467e41ae5"], ["instance_url", "http://corkery.com/shad"], ["created_at", "2017-05-10 01:15:58.150520"], ["updated_at", "2017-05-10 01:15:58.150520"]]
374
+  (0.1ms) RELEASE SAVEPOINT active_record_2
375
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
376
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
377
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
378
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
379
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
380
+  (0.0ms) SAVEPOINT active_record_2
381
+ SQL (0.2ms) UPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 01:16:20.141215"], ["id", 1]]
382
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
383
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
384
+  (2.3ms) DELETE FROM "openstax_salesforce_users";
385
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
386
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
387
+  (0.0ms) begin transaction
388
+  (0.0ms) commit transaction
389
+  (0.0ms) begin transaction
390
+  (0.0ms) SAVEPOINT active_record_1
391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
392
+  (0.1ms) SAVEPOINT active_record_1
393
+  (0.1ms) SAVEPOINT active_record_2
394
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "dadc789c42c59436e0a7"], ["name", "Kianna Moen II"], ["oauth_token", "3b2357de7bc1f51aa5b7198d5021600c"], ["refresh_token", "3c9e2be7bb921b62b71e13419f630f61"], ["instance_url", "http://ebertmoen.co/foster_goldner"], ["created_at", "2017-05-10 01:17:00.794581"], ["updated_at", "2017-05-10 01:17:00.794581"]]
395
+  (0.0ms) RELEASE SAVEPOINT active_record_2
396
+  (0.1ms) SAVEPOINT active_record_2
397
+ SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "0fa93a1ad800975bf2d6"], ["name", "Roma Reynolds V"], ["oauth_token", "43fb6be5f4368eee620521ece0f7d50e"], ["refresh_token", "0c6afdf2e21be7eda0239618789e9f5b"], ["instance_url", "http://beer.co/kaylee_mills"], ["created_at", "2017-05-10 01:17:01.364266"], ["updated_at", "2017-05-10 01:17:01.364266"]]
398
+  (0.1ms) RELEASE SAVEPOINT active_record_2
399
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
400
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
401
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
402
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
403
+  (0.7ms) DELETE FROM "openstax_salesforce_users";
404
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
405
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
406
+  (0.0ms) begin transaction
407
+  (0.0ms) commit transaction
408
+  (0.0ms) begin transaction
409
+  (0.0ms) SAVEPOINT active_record_1
410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
411
+  (0.0ms) SAVEPOINT active_record_1
412
+  (0.1ms) SAVEPOINT active_record_2
413
+ SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "02810df574ebf977db1c"], ["name", "Lenore Dooley"], ["oauth_token", "b8bbf8ee808a03b48eae8b2421219485"], ["refresh_token", "8133fa6b4d5c76a69ef2519b866ceaa2"], ["instance_url", "http://satterfieldrath.net/leanna"], ["created_at", "2017-05-10 01:18:38.888442"], ["updated_at", "2017-05-10 01:18:38.888442"]]
414
+  (0.1ms) RELEASE SAVEPOINT active_record_2
415
+  (0.1ms) SAVEPOINT active_record_2
416
+ SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "16a7db0c2df617afeb28"], ["name", "Assunta Kiehn III"], ["oauth_token", "2e2d48d146a945ece1d0fbf851b8881b"], ["refresh_token", "c67ccd4d084ffa0d0864018feba2461f"], ["instance_url", "http://goldner.org/lafayette"], ["created_at", "2017-05-10 01:18:39.588462"], ["updated_at", "2017-05-10 01:18:39.588462"]]
417
+  (0.0ms) RELEASE SAVEPOINT active_record_2
418
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
419
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
420
+ 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"]]
421
+ 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"]]
422
+  (0.1ms) SAVEPOINT active_record_2
423
+ 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", "2017-05-10 01:18:53.853659"], ["updated_at", "2017-05-10 01:18:53.853659"]]
424
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
425
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
426
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
427
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
428
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
429
+  (2.8ms) DELETE FROM "openstax_salesforce_users";
430
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
431
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
432
+  (0.1ms) begin transaction
433
+  (0.0ms) commit transaction
434
+  (0.0ms) begin transaction
435
+  (0.1ms) SAVEPOINT active_record_1
436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
437
+  (0.0ms) SAVEPOINT active_record_1
438
+  (0.1ms) SAVEPOINT active_record_2
439
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "8d4e09e5690eec38b915"], ["name", "Preston Stracke V"], ["oauth_token", "ccd1c7e891e91e2141974ca49f4d96bc"], ["refresh_token", "115b9f75a59e9a8b0f159d5045676456"], ["instance_url", "http://lockman.name/aniya"], ["created_at", "2017-05-10 01:20:00.252961"], ["updated_at", "2017-05-10 01:20:00.252961"]]
440
+  (0.0ms) RELEASE SAVEPOINT active_record_2
441
+  (0.1ms) SAVEPOINT active_record_2
442
+ SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "242eb8220f2659a91e18"], ["name", "Edison Flatley"], ["oauth_token", "94727e1d85d0676a4a2c9507acd43986"], ["refresh_token", "dd56292f1fd72d8fe48430834b4510eb"], ["instance_url", "http://lindgren.org/casper"], ["created_at", "2017-05-10 01:20:00.746062"], ["updated_at", "2017-05-10 01:20:00.746062"]]
443
+  (0.0ms) RELEASE SAVEPOINT active_record_2
444
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
445
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
446
+ 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"]]
447
+  (0.0ms) SAVEPOINT active_record_2
448
+ 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", "2017-05-10 01:20:03.338261"], ["updated_at", "2017-05-10 01:20:03.338261"]]
449
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
450
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
451
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
452
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
453
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
454
+  (0.1ms) RELEASE SAVEPOINT active_record_2
455
+ Redirected to http://test.host/admin/salesforce/
456
+ Completed 302 Found in 21104ms (ActiveRecord: 1.1ms)
457
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
458
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
459
+  (0.2ms) rollback transaction
460
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
461
+  (2.6ms) DELETE FROM "openstax_salesforce_users";
462
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
463
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
464
+  (0.1ms) begin transaction
465
+  (0.0ms) commit transaction
466
+  (0.0ms) begin transaction
467
+  (0.1ms) SAVEPOINT active_record_1
468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
469
+  (0.0ms) SAVEPOINT active_record_1
470
+  (0.1ms) SAVEPOINT active_record_2
471
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "19fe492ed655d9928882"], ["name", "Clifford Zboncak"], ["oauth_token", "557b1a7ec97e1823d3b57a5daf58fc15"], ["refresh_token", "915cfac3cfe5c3b3165d914777dfa4dc"], ["instance_url", "http://wiegand.co/aurelia"], ["created_at", "2017-05-10 01:22:02.677343"], ["updated_at", "2017-05-10 01:22:02.677343"]]
472
+  (0.0ms) RELEASE SAVEPOINT active_record_2
473
+  (0.0ms) SAVEPOINT active_record_2
474
+ SQL (0.2ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "f4ceb56b43f39ac2b304"], ["name", "Glenna Watsica"], ["oauth_token", "c369dce9fe54ff25c676ba2e1eef0e26"], ["refresh_token", "00fe5ef3a4c01268917576e1a907f65b"], ["instance_url", "http://considine.com/chelsie.oconner"], ["created_at", "2017-05-10 01:22:02.681856"], ["updated_at", "2017-05-10 01:22:02.681856"]]
475
+  (0.0ms) RELEASE SAVEPOINT active_record_2
476
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
477
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
478
+ 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"]]
479
+  (0.0ms) SAVEPOINT active_record_2
480
+ 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", "2017-05-10 01:22:02.697065"], ["updated_at", "2017-05-10 01:22:02.697065"]]
481
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
482
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
483
+ SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
484
+  (0.0ms) RELEASE SAVEPOINT active_record_2
485
+ Redirected to http://test.host/admin/salesforce/
486
+ Completed 302 Found in 11ms (ActiveRecord: 0.5ms)
487
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
488
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
489
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
490
+  (0.9ms) rollback transaction
491
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
492
+  (0.1ms) begin transaction
493
+ SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Hellen Willms"], ["oauth_token", "78acb6ea10d407116fbe5d9e821589ff"], ["refresh_token", "52747570d40374fd0f0d424df49745b3"], ["instance_url", "http://friesenstamm.net/moriah_grant"], ["created_at", "2017-05-10 01:23:13.567883"], ["updated_at", "2017-05-10 01:23:13.567883"]]
494
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
495
+  (1.9ms) commit transaction
496
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
497
+  (2.9ms) DELETE FROM "openstax_salesforce_users";
498
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
499
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
500
+  (0.1ms) begin transaction
501
+  (0.0ms) commit transaction
502
+  (0.0ms) begin transaction
503
+  (0.0ms) SAVEPOINT active_record_1
504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
505
+  (0.0ms) SAVEPOINT active_record_1
506
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
507
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
508
+ 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"]]
509
+  (0.1ms) SAVEPOINT active_record_2
510
+ 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", "2017-05-10 01:23:34.514942"], ["updated_at", "2017-05-10 01:23:34.514942"]]
511
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
512
+  (0.0ms) RELEASE SAVEPOINT active_record_2
513
+ Redirected to http://test.host/admin/salesforce/
514
+ Completed 302 Found in 21ms (ActiveRecord: 0.8ms)
515
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
516
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
517
+  (0.0ms) SAVEPOINT active_record_1
518
+  (0.0ms) RELEASE SAVEPOINT active_record_1
519
+  (0.0ms) SAVEPOINT active_record_1
520
+  (0.1ms) SAVEPOINT active_record_2
521
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "5c67f69b52ffd01117cc"], ["name", "Miss Carolyne Johns"], ["oauth_token", "80cdaa8bbb9cb30033fbac3f4d2b84a4"], ["refresh_token", "59fa6401bf2df38648527792ba6bbe22"], ["instance_url", "http://labadieledner.com/olin_nikolaus"], ["created_at", "2017-05-10 01:23:35.034760"], ["updated_at", "2017-05-10 01:23:35.034760"]]
522
+  (0.0ms) RELEASE SAVEPOINT active_record_2
523
+  (0.0ms) SAVEPOINT active_record_2
524
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "afda014ba6cde1986a7c"], ["name", "Delmer Kessler"], ["oauth_token", "161cba73c0e0a3922212f496f3a190ca"], ["refresh_token", "72094b092a45c8bfe0e1642c5f726b72"], ["instance_url", "http://roberts.co/craig"], ["created_at", "2017-05-10 01:23:35.037073"], ["updated_at", "2017-05-10 01:23:35.037073"]]
525
+  (0.1ms) RELEASE SAVEPOINT active_record_2
526
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
527
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
528
+ 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"]]
529
+  (0.0ms) SAVEPOINT active_record_2
530
+ 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", "2017-05-10 01:23:35.043524"], ["updated_at", "2017-05-10 01:23:35.043524"]]
531
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
532
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
533
+ SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
534
+  (0.0ms) RELEASE SAVEPOINT active_record_2
535
+ Redirected to http://test.host/admin/salesforce/
536
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
537
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
538
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
539
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
540
+  (0.1ms) SAVEPOINT active_record_1
541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
542
+  (0.0ms) SAVEPOINT active_record_1
543
+  (0.0ms) SAVEPOINT active_record_2
544
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Aimee Grady"], ["oauth_token", "e6e6d1f5ea1fec6413e7343a6ba3aadf"], ["refresh_token", "60552d8c82ea9ad4cb4f2a07cf32b3ff"], ["instance_url", "http://okon.biz/lance"], ["created_at", "2017-05-10 01:23:35.052552"], ["updated_at", "2017-05-10 01:23:35.052552"]]
545
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
546
+  (0.0ms) RELEASE SAVEPOINT active_record_2
547
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
548
+ 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"]]
549
+  (0.0ms) SAVEPOINT active_record_2
550
+ 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", "2017-05-10 01:23:35.058522"], ["id", 1]]
551
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
552
+  (0.0ms) RELEASE SAVEPOINT active_record_2
553
+ Redirected to http://test.host/admin/salesforce/
554
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
555
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
556
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
557
+  (0.0ms) SAVEPOINT active_record_1
558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
559
+  (0.0ms) SAVEPOINT active_record_1
560
+  (0.0ms) SAVEPOINT active_record_2
561
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "f329bae3786c2ca3e8e2"], ["name", "Christelle Haley"], ["oauth_token", "7aa79ea2a963b838be441ad777051a12"], ["refresh_token", "ffb188ec42a90ca64165c12fdff4ee5c"], ["instance_url", "http://mannkunde.org/gene"], ["created_at", "2017-05-10 01:23:35.065755"], ["updated_at", "2017-05-10 01:23:35.065755"]]
562
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
563
+  (0.1ms) RELEASE SAVEPOINT active_record_2
564
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
565
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
566
+  (0.1ms) SAVEPOINT active_record_1
567
+  (0.0ms) RELEASE SAVEPOINT active_record_1
568
+  (0.1ms) SAVEPOINT active_record_1
569
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
570
+  (2.1ms) rollback transaction
571
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
572
+  (2.0ms) DELETE FROM "openstax_salesforce_users";
573
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
574
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
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) SELECT COUNT(*) FROM "openstax_salesforce_users"
582
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
583
+  (0.0ms) SAVEPOINT active_record_1
584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
585
+  (0.0ms) SAVEPOINT active_record_1
586
+  (0.1ms) SAVEPOINT active_record_2
587
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "7f1affaf14adbe58dfaf"], ["name", "Emanuel Feil"], ["oauth_token", "06ab05b0d6c17d129e59ef52dafb6c8c"], ["refresh_token", "6646be834c9cd4f8db28f07638ed132b"], ["instance_url", "http://wunsch.biz/braeden.bechtelar"], ["created_at", "2017-05-10 02:12:12.335834"], ["updated_at", "2017-05-10 02:12:12.335834"]]
588
+  (0.0ms) RELEASE SAVEPOINT active_record_2
589
+  (0.0ms) SAVEPOINT active_record_2
590
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "8536cf5b9f0af7110042"], ["name", "Shannon Hansen"], ["oauth_token", "768ccc899e43a8da738d25f9c3290237"], ["refresh_token", "6c2541f50e6ed4100846f8343ad876d0"], ["instance_url", "http://wilkinson.org/leonor"], ["created_at", "2017-05-10 02:12:12.339789"], ["updated_at", "2017-05-10 02:12:12.339789"]]
591
+  (0.0ms) RELEASE SAVEPOINT active_record_2
592
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
593
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
594
+  (0.0ms) SAVEPOINT active_record_1
595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
596
+  (0.0ms) SAVEPOINT active_record_1
597
+  (0.0ms) SAVEPOINT active_record_2
598
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Mrs. Stevie VonRueden"], ["oauth_token", "248acdc20453c3639070a41c390a3028"], ["refresh_token", "04886ae2f53c04996a4555c3df6012ed"], ["instance_url", "http://koepppollich.biz/cruz"], ["created_at", "2017-05-10 02:12:12.346194"], ["updated_at", "2017-05-10 02:12:12.346194"]]
599
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
600
+  (0.0ms) RELEASE SAVEPOINT active_record_2
601
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
602
+  (0.1ms) SAVEPOINT active_record_1
603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
604
+  (0.0ms) SAVEPOINT active_record_1
605
+  (0.0ms) SAVEPOINT active_record_2
606
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "9a831f76326c26acf228"], ["name", "Ms. Eliezer Deckow"], ["oauth_token", "c7928c781451a2af1b5fcb05831a4a3c"], ["refresh_token", "736827c55e33e66b0d24c18b463132cd"], ["instance_url", "http://bartoletti.info/denis"], ["created_at", "2017-05-10 02:12:12.354237"], ["updated_at", "2017-05-10 02:12:12.354237"]]
607
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
608
+  (0.0ms) RELEASE SAVEPOINT active_record_2
609
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
610
+ Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
611
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
612
+  (0.1ms) SAVEPOINT active_record_2
613
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
614
+  (0.1ms) RELEASE SAVEPOINT active_record_2
615
+ Redirected to http://test.host/admin/salesforce/
616
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
617
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
618
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
619
+  (0.1ms) SAVEPOINT active_record_1
620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
621
+  (0.1ms) SAVEPOINT active_record_1
622
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
623
+  (1.7ms) rollback transaction
624
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
625
+  (2.1ms) DELETE FROM "openstax_salesforce_users";
626
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
627
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
628
+  (0.0ms) begin transaction
629
+  (0.0ms) commit transaction
630
+  (0.0ms) begin transaction
631
+  (0.0ms) SAVEPOINT active_record_1
632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
633
+  (0.0ms) SAVEPOINT active_record_1
634
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
635
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
636
+ 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"]]
637
+  (0.1ms) SAVEPOINT active_record_2
638
+ 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", "2017-05-10 02:12:27.412557"], ["updated_at", "2017-05-10 02:12:27.412557"]]
639
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
640
+  (0.0ms) RELEASE SAVEPOINT active_record_2
641
+ Redirected to http://test.host/admin/salesforce/
642
+ Completed 302 Found in 19ms (ActiveRecord: 0.8ms)
643
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
644
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
645
+  (0.0ms) SAVEPOINT active_record_1
646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
647
+  (0.0ms) SAVEPOINT active_record_1
648
+  (0.1ms) SAVEPOINT active_record_2
649
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "34a3f48b017ac1ce992a"], ["name", "Estel Bechtelar"], ["oauth_token", "8f8bff064264267403cc609afaf3e1be"], ["refresh_token", "a81a2934fb40b4c577e8950c56e222b4"], ["instance_url", "http://runolfsdottir.com/khalid_rice"], ["created_at", "2017-05-10 02:12:27.912603"], ["updated_at", "2017-05-10 02:12:27.912603"]]
650
+  (0.1ms) RELEASE SAVEPOINT active_record_2
651
+  (0.0ms) SAVEPOINT active_record_2
652
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "ed08496f9578eef1eaf7"], ["name", "Monica Huels"], ["oauth_token", "7f4af57d6d49c5d358cc3894574e5c62"], ["refresh_token", "84316e5f9dd3a6f69f6f998a74fa6986"], ["instance_url", "http://trantow.org/keenan_mayer"], ["created_at", "2017-05-10 02:12:27.914886"], ["updated_at", "2017-05-10 02:12:27.914886"]]
653
+  (0.0ms) RELEASE SAVEPOINT active_record_2
654
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
655
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
656
+ 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"]]
657
+  (0.0ms) SAVEPOINT active_record_2
658
+ 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", "2017-05-10 02:12:27.922540"], ["updated_at", "2017-05-10 02:12:27.922540"]]
659
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
660
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
661
+ SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
662
+  (0.1ms) RELEASE SAVEPOINT active_record_2
663
+ Redirected to http://test.host/admin/salesforce/
664
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
665
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
666
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
667
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
668
+  (0.0ms) SAVEPOINT active_record_1
669
+  (0.0ms) RELEASE SAVEPOINT active_record_1
670
+  (0.0ms) SAVEPOINT active_record_1
671
+  (0.0ms) SAVEPOINT active_record_2
672
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Miss Jason Harber"], ["oauth_token", "d03905d83c6d832a18767504b82cf0d8"], ["refresh_token", "212b9b6cfd681ef4ffee485aeed4db3a"], ["instance_url", "http://marvin.info/lue"], ["created_at", "2017-05-10 02:12:27.932160"], ["updated_at", "2017-05-10 02:12:27.932160"]]
673
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
674
+  (0.0ms) RELEASE SAVEPOINT active_record_2
675
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
676
+ 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"]]
677
+  (0.0ms) SAVEPOINT active_record_2
678
+ 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", "2017-05-10 02:12:27.939346"], ["id", 1]]
679
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
680
+  (0.0ms) RELEASE SAVEPOINT active_record_2
681
+ Redirected to http://test.host/admin/salesforce/
682
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
683
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
684
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
685
+  (0.0ms) SAVEPOINT active_record_1
686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
687
+  (0.0ms) SAVEPOINT active_record_1
688
+  (0.0ms) SAVEPOINT active_record_2
689
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "9254ef25320e80954169"], ["name", "Icie Braun"], ["oauth_token", "59a18c08639101aba8f03f24e6d79614"], ["refresh_token", "71b6cbf331a54b9697d92ad379c5262a"], ["instance_url", "http://hudsonlittle.org/abdullah"], ["created_at", "2017-05-10 02:12:27.946570"], ["updated_at", "2017-05-10 02:12:27.946570"]]
690
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
691
+  (0.0ms) RELEASE SAVEPOINT active_record_2
692
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
693
+ Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
694
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
695
+  (0.0ms) SAVEPOINT active_record_2
696
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
697
+  (0.0ms) RELEASE SAVEPOINT active_record_2
698
+ Redirected to http://test.host/admin/salesforce/
699
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
700
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
701
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
702
+  (0.1ms) SAVEPOINT active_record_1
703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
704
+  (0.0ms) SAVEPOINT active_record_1
705
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
706
+  (2.0ms) rollback transaction
707
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
708
+  (2.4ms) DELETE FROM "openstax_salesforce_users";
709
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
710
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
711
+  (0.0ms) begin transaction
712
+  (0.0ms) commit transaction
713
+  (0.0ms) begin transaction
714
+  (0.0ms) SAVEPOINT active_record_1
715
+  (0.0ms) RELEASE SAVEPOINT active_record_1
716
+  (0.0ms) SAVEPOINT active_record_1
717
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
718
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
719
+ 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"]]
720
+  (0.0ms) SAVEPOINT active_record_2
721
+ 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", "2017-05-10 02:13:48.938210"], ["updated_at", "2017-05-10 02:13:48.938210"]]
722
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
723
+  (0.0ms) RELEASE SAVEPOINT active_record_2
724
+ Redirected to http://test.host/admin/salesforce/
725
+ Completed 302 Found in 16ms (ActiveRecord: 0.6ms)
726
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
727
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
728
+  (0.0ms) SAVEPOINT active_record_1
729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
730
+  (0.0ms) SAVEPOINT active_record_1
731
+  (0.1ms) SAVEPOINT active_record_2
732
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "dabca930d509640e2c67"], ["name", "Madge Feeney"], ["oauth_token", "9907aae4d632235241aef8750f805045"], ["refresh_token", "fa68a40ad081d91e680d1011c621c281"], ["instance_url", "http://hodkiewiczgrant.org/mazie.bashirian"], ["created_at", "2017-05-10 02:13:49.440273"], ["updated_at", "2017-05-10 02:13:49.440273"]]
733
+  (0.0ms) RELEASE SAVEPOINT active_record_2
734
+  (0.1ms) SAVEPOINT active_record_2
735
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "9e0a685990dea590f26b"], ["name", "Miss Naomi Kessler"], ["oauth_token", "327227d82aefb54839b4c5cf4ffdf583"], ["refresh_token", "1adc005d004f75010ccfe5a60f615209"], ["instance_url", "http://ullrichdicki.biz/rowan.renner"], ["created_at", "2017-05-10 02:13:49.442529"], ["updated_at", "2017-05-10 02:13:49.442529"]]
736
+  (0.0ms) RELEASE SAVEPOINT active_record_2
737
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
738
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
739
+ 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"]]
740
+  (0.0ms) SAVEPOINT active_record_2
741
+ 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", "2017-05-10 02:13:49.448964"], ["updated_at", "2017-05-10 02:13:49.448964"]]
742
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
743
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
744
+ SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
745
+  (0.1ms) RELEASE SAVEPOINT active_record_2
746
+ Redirected to http://test.host/admin/salesforce/
747
+ Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
748
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
749
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
750
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
751
+  (0.0ms) SAVEPOINT active_record_1
752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
753
+  (0.0ms) SAVEPOINT active_record_1
754
+  (0.0ms) SAVEPOINT active_record_2
755
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Miss Dashawn Daniel"], ["oauth_token", "4890725725b661d2726fed8c1bde64dc"], ["refresh_token", "e3aad72c851d9c2754b781d065bfb72f"], ["instance_url", "http://nicolas.com/fleta"], ["created_at", "2017-05-10 02:13:49.461246"], ["updated_at", "2017-05-10 02:13:49.461246"]]
756
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
757
+  (0.1ms) RELEASE SAVEPOINT active_record_2
758
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
759
+ 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"]]
760
+  (0.0ms) SAVEPOINT active_record_2
761
+ 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", "2017-05-10 02:13:49.469824"], ["id", 1]]
762
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
763
+  (0.0ms) RELEASE SAVEPOINT active_record_2
764
+ Redirected to http://test.host/admin/salesforce/
765
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
766
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
767
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
768
+  (0.0ms) SAVEPOINT active_record_1
769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
770
+  (0.0ms) SAVEPOINT active_record_1
771
+  (0.0ms) SAVEPOINT active_record_2
772
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "f46d144717d805744409"], ["name", "Phyllis Veum PhD"], ["oauth_token", "a5aa04df063815aa221ddbbe23d15459"], ["refresh_token", "8d269db9c20c68470a90208beec09185"], ["instance_url", "http://trantow.org/joaquin.koelpin"], ["created_at", "2017-05-10 02:13:49.478023"], ["updated_at", "2017-05-10 02:13:49.478023"]]
773
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
774
+  (0.0ms) RELEASE SAVEPOINT active_record_2
775
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
776
+ Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
777
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
778
+  (0.0ms) SAVEPOINT active_record_2
779
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
780
+  (0.1ms) RELEASE SAVEPOINT active_record_2
781
+ Redirected to http://test.host/admin/salesforce/
782
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
783
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
784
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
785
+  (0.0ms) SAVEPOINT active_record_1
786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
787
+  (0.0ms) SAVEPOINT active_record_1
788
+ Processing by OpenStax::Salesforce::SettingsController#show as HTML
789
+ Filter chain halted as #<Proc:0x007f8f843db600@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
790
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
791
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
792
+  (2.0ms) rollback transaction
793
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
794
+  (2.4ms) DELETE FROM "openstax_salesforce_users";
795
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
796
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
797
+  (0.1ms) begin transaction
798
+  (0.1ms) commit transaction
799
+  (0.0ms) begin transaction
800
+  (0.0ms) SAVEPOINT active_record_1
801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
802
+  (0.1ms) SAVEPOINT active_record_1
803
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
804
+  (0.1ms) rollback transaction
805
+  (0.0ms) begin transaction
806
+  (0.0ms) commit transaction
807
+  (0.0ms) begin transaction
808
+  (0.1ms) SAVEPOINT active_record_1
809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
810
+  (0.0ms) SAVEPOINT active_record_1
811
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
812
+ Filter chain halted as #<Proc:0x007fa0cb20f760@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
813
+ Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)
814
+  (0.1ms) 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
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
819
+ Rendered text template (0.0ms)
820
+ Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
821
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
822
+  (0.0ms) rollback transaction
823
+  (0.0ms) begin transaction
824
+  (0.0ms) commit transaction
825
+  (0.0ms) begin transaction
826
+  (0.0ms) SAVEPOINT active_record_1
827
+  (0.0ms) RELEASE SAVEPOINT active_record_1
828
+  (0.0ms) SAVEPOINT active_record_1
829
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
830
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
831
+ 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"]]
832
+  (0.0ms) SAVEPOINT active_record_2
833
+ 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", "2017-05-10 02:14:09.431682"], ["updated_at", "2017-05-10 02:14:09.431682"]]
834
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
835
+  (0.0ms) RELEASE SAVEPOINT active_record_2
836
+ Redirected to http://test.host/admin/salesforce/
837
+ Completed 302 Found in 17ms (ActiveRecord: 0.5ms)
838
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
839
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
840
+  (0.0ms) SAVEPOINT active_record_1
841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
842
+  (0.0ms) SAVEPOINT active_record_1
843
+  (0.1ms) SAVEPOINT active_record_2
844
+ SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "8ead061896a4d2401827"], ["name", "Kaleb Koss"], ["oauth_token", "4775c7b7cae23a1ed2884b5aa814cc32"], ["refresh_token", "093e3d1ebe9fd6fa50a59f206f13edef"], ["instance_url", "http://sporer.biz/laurel.durgan"], ["created_at", "2017-05-10 02:14:10.009906"], ["updated_at", "2017-05-10 02:14:10.009906"]]
845
+  (0.1ms) RELEASE SAVEPOINT active_record_2
846
+  (0.0ms) SAVEPOINT active_record_2
847
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "0c8af85db754ed593cda"], ["name", "Salvador Emard"], ["oauth_token", "ee7e98de69faef6189e4ce613ac20abb"], ["refresh_token", "8f920caeab5a2a0ae6df1a12bc565c28"], ["instance_url", "http://rowe.io/sharon"], ["created_at", "2017-05-10 02:14:10.012764"], ["updated_at", "2017-05-10 02:14:10.012764"]]
848
+  (0.1ms) RELEASE SAVEPOINT active_record_2
849
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
850
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
851
+ 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"]]
852
+  (0.0ms) SAVEPOINT active_record_2
853
+ 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", "2017-05-10 02:14:10.020339"], ["updated_at", "2017-05-10 02:14:10.020339"]]
854
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
855
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
856
+ SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
857
+  (0.0ms) RELEASE SAVEPOINT active_record_2
858
+ Redirected to http://test.host/admin/salesforce/
859
+ Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
860
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
861
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
862
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
863
+  (0.0ms) SAVEPOINT active_record_1
864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
865
+  (0.0ms) SAVEPOINT active_record_1
866
+  (0.0ms) SAVEPOINT active_record_2
867
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Pattie Vandervort"], ["oauth_token", "41bfc880998d9aea13fb3063743fbae2"], ["refresh_token", "8db521b24bda2ccec6da1107b4ad8c09"], ["instance_url", "http://bogisich.info/levi"], ["created_at", "2017-05-10 02:14:10.028584"], ["updated_at", "2017-05-10 02:14:10.028584"]]
868
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
869
+  (0.0ms) RELEASE SAVEPOINT active_record_2
870
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
871
+ 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"]]
872
+  (0.1ms) SAVEPOINT active_record_2
873
+ 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", "2017-05-10 02:14:10.034712"], ["id", 1]]
874
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
875
+  (0.0ms) RELEASE SAVEPOINT active_record_2
876
+ Redirected to http://test.host/admin/salesforce/
877
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
878
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
879
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
880
+  (0.1ms) SAVEPOINT active_record_1
881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
882
+  (0.0ms) SAVEPOINT active_record_1
883
+  (0.0ms) SAVEPOINT active_record_2
884
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "4143b761e1be9e4be3ec"], ["name", "Okey Paucek"], ["oauth_token", "17ded2e497951af25e22e9e17eb76e68"], ["refresh_token", "42e2d55b493e86c3d5df7b14dbba84dc"], ["instance_url", "http://mannkaulke.com/ryder.feil"], ["created_at", "2017-05-10 02:14:10.043405"], ["updated_at", "2017-05-10 02:14:10.043405"]]
885
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
886
+  (0.1ms) RELEASE SAVEPOINT active_record_2
887
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
888
+ Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
889
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
890
+  (0.0ms) SAVEPOINT active_record_2
891
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
892
+  (0.0ms) RELEASE SAVEPOINT active_record_2
893
+ Redirected to http://test.host/admin/salesforce/
894
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
895
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
896
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
897
+  (0.0ms) SAVEPOINT active_record_1
898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
899
+  (0.0ms) SAVEPOINT active_record_1
900
+ Processing by OpenStax::Salesforce::SettingsController#show as HTML
901
+ Filter chain halted as #<Proc:0x007fa0cb20f760@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
902
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
903
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
904
+  (2.0ms) rollback transaction
905
+  (0.0ms) begin transaction
906
+  (0.0ms) commit transaction
907
+  (0.0ms) begin transaction
908
+  (0.0ms) SAVEPOINT active_record_1
909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
910
+  (0.0ms) SAVEPOINT active_record_1
911
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
912
+  (0.0ms) rollback transaction
913
+  (0.0ms) begin transaction
914
+  (0.0ms) 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.0ms) SAVEPOINT active_record_1
921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
922
+  (0.0ms) SAVEPOINT active_record_1
923
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
924
+  (0.0ms) SAVEPOINT active_record_1
925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
926
+  (0.0ms) SAVEPOINT active_record_1
927
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
928
+  (0.0ms) SAVEPOINT active_record_1
929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
930
+  (0.0ms) SAVEPOINT active_record_1
931
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
932
+  (0.0ms) SAVEPOINT active_record_1
933
+  (0.0ms) RELEASE SAVEPOINT active_record_1
934
+  (0.0ms) SAVEPOINT active_record_1
935
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
936
+  (0.0ms) SAVEPOINT active_record_1
937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
938
+  (0.0ms) SAVEPOINT active_record_1
939
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
940
+  (0.0ms) SAVEPOINT active_record_1
941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
942
+  (0.0ms) SAVEPOINT active_record_1
943
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
944
+  (0.0ms) SAVEPOINT active_record_1
945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
946
+  (0.0ms) SAVEPOINT active_record_1
947
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
948
+  (0.0ms) SAVEPOINT active_record_1
949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
950
+  (0.0ms) SAVEPOINT active_record_1
951
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
952
+  (0.0ms) SAVEPOINT active_record_1
953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
954
+  (0.0ms) SAVEPOINT active_record_1
955
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
956
+  (0.0ms) rollback transaction
957
+  (0.0ms) begin transaction
958
+  (0.0ms) commit transaction
959
+  (0.0ms) begin transaction
960
+  (0.0ms) SAVEPOINT active_record_1
961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
962
+  (0.0ms) SAVEPOINT active_record_1
963
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
964
+  (0.0ms) SAVEPOINT active_record_1
965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
966
+  (0.0ms) SAVEPOINT active_record_1
967
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
968
+  (0.0ms) SAVEPOINT active_record_1
969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
970
+  (0.0ms) SAVEPOINT active_record_1
971
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
972
+  (0.0ms) SAVEPOINT active_record_1
973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
974
+  (0.0ms) SAVEPOINT active_record_1
975
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
976
+  (0.0ms) SAVEPOINT active_record_1
977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
978
+  (0.0ms) SAVEPOINT active_record_1
979
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
980
+  (0.0ms) SAVEPOINT active_record_1
981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
982
+  (0.0ms) SAVEPOINT active_record_1
983
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
984
+  (0.0ms) SAVEPOINT active_record_1
985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
986
+  (0.0ms) SAVEPOINT active_record_1
987
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
988
+  (0.0ms) SAVEPOINT active_record_1
989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
990
+  (0.0ms) SAVEPOINT active_record_1
991
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
992
+  (0.0ms) SAVEPOINT active_record_1
993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
994
+  (0.0ms) SAVEPOINT active_record_1
995
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
996
+  (0.0ms) SAVEPOINT active_record_1
997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
998
+  (0.0ms) SAVEPOINT active_record_1
999
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1000
+  (0.0ms) SAVEPOINT active_record_1
1001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1002
+  (0.1ms) SAVEPOINT active_record_1
1003
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1004
+  (0.0ms) rollback transaction
1005
+  (0.1ms) begin transaction
1006
+  (0.0ms) commit transaction
1007
+  (0.0ms) begin transaction
1008
+  (0.0ms) SAVEPOINT active_record_1
1009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1010
+  (0.0ms) SAVEPOINT active_record_1
1011
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1012
+  (0.0ms) SAVEPOINT active_record_1
1013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1014
+  (0.0ms) SAVEPOINT active_record_1
1015
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1016
+  (0.0ms) SAVEPOINT active_record_1
1017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1018
+  (0.0ms) SAVEPOINT active_record_1
1019
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1020
+  (0.0ms) rollback transaction
1021
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1022
+  (2.3ms) DELETE FROM "openstax_salesforce_users";
1023
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1024
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1025
+  (0.0ms) begin transaction
1026
+  (0.0ms) commit transaction
1027
+  (0.0ms) begin transaction
1028
+  (0.0ms) SAVEPOINT active_record_1
1029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1030
+  (0.0ms) SAVEPOINT active_record_1
1031
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1032
+  (0.0ms) rollback transaction
1033
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1034
+  (2.3ms) DELETE FROM "openstax_salesforce_users";
1035
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1036
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1037
+  (0.0ms) begin transaction
1038
+  (0.0ms) commit transaction
1039
+  (0.0ms) begin transaction
1040
+  (0.0ms) SAVEPOINT active_record_1
1041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1042
+  (0.0ms) SAVEPOINT active_record_1
1043
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1044
+  (0.0ms) rollback transaction
1045
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1046
+  (2.2ms) DELETE FROM "openstax_salesforce_users";
1047
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1048
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1049
+  (0.0ms) begin transaction
1050
+  (0.0ms) commit transaction
1051
+  (0.0ms) begin transaction
1052
+  (0.0ms) SAVEPOINT active_record_1
1053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1054
+  (0.0ms) SAVEPOINT active_record_1
1055
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1056
+  (0.1ms) rollback transaction
1057
+  (0.0ms) begin transaction
1058
+  (0.0ms) commit transaction
1059
+  (0.0ms) begin transaction
1060
+  (0.0ms) SAVEPOINT active_record_1
1061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1062
+  (0.0ms) SAVEPOINT active_record_1
1063
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1064
+ Filter chain halted as #<Proc:0x007fcd1c2e6418@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1065
+ Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)
1066
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1067
+  (0.0ms) SAVEPOINT active_record_1
1068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1069
+  (0.0ms) SAVEPOINT active_record_1
1070
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1071
+ Rendered text template (0.0ms)
1072
+ Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
1073
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1074
+  (0.0ms) rollback transaction
1075
+  (0.0ms) begin transaction
1076
+  (0.0ms) commit transaction
1077
+  (0.0ms) begin transaction
1078
+  (0.0ms) SAVEPOINT active_record_1
1079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1080
+  (0.0ms) SAVEPOINT active_record_1
1081
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1082
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1083
+ 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"]]
1084
+  (0.0ms) SAVEPOINT active_record_2
1085
+ 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", "2017-05-10 02:26:05.581088"], ["updated_at", "2017-05-10 02:26:05.581088"]]
1086
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1087
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1088
+ Redirected to http://test.host/admin/salesforce/
1089
+ Completed 302 Found in 18ms (ActiveRecord: 0.6ms)
1090
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1091
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1092
+  (0.0ms) SAVEPOINT active_record_1
1093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1094
+  (0.0ms) SAVEPOINT active_record_1
1095
+  (0.1ms) SAVEPOINT active_record_2
1096
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "affa552e9b1342b15d56"], ["name", "Earnest Dibbert"], ["oauth_token", "596bb1c5cf36c9dbddfdbc6b61a3cbfe"], ["refresh_token", "60adbe689feb9106f631ef45ee0bb720"], ["instance_url", "http://okuneva.io/sandra.torp"], ["created_at", "2017-05-10 02:26:06.125986"], ["updated_at", "2017-05-10 02:26:06.125986"]]
1097
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1098
+  (0.0ms) SAVEPOINT active_record_2
1099
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "4aa1576b5755d16c4b14"], ["name", "Carli Bechtelar"], ["oauth_token", "3ee65417c7a192177bf19b65da1d5a46"], ["refresh_token", "a2b2a98508ed7ae3f8b274461f2ffeb1"], ["instance_url", "http://stanton.name/blair"], ["created_at", "2017-05-10 02:26:06.128193"], ["updated_at", "2017-05-10 02:26:06.128193"]]
1100
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1101
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1102
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1103
+ 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"]]
1104
+  (0.0ms) SAVEPOINT active_record_2
1105
+ 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", "2017-05-10 02:26:06.134932"], ["updated_at", "2017-05-10 02:26:06.134932"]]
1106
+ OpenStax::Salesforce::User Load (0.2ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
1107
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1108
+ SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
1109
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1110
+ Redirected to http://test.host/admin/salesforce/
1111
+ Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
1112
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1113
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1114
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1115
+  (0.0ms) SAVEPOINT active_record_1
1116
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1117
+  (0.0ms) SAVEPOINT active_record_1
1118
+  (0.0ms) SAVEPOINT active_record_2
1119
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Wilma Ryan"], ["oauth_token", "62d7a9a4b8b3d04345169bf14f97af39"], ["refresh_token", "58030714ac0515d3bbb37589ae7df5a1"], ["instance_url", "http://strackewilderman.co/pasquale.zemlak"], ["created_at", "2017-05-10 02:26:06.144780"], ["updated_at", "2017-05-10 02:26:06.144780"]]
1120
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1121
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1122
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1123
+ 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"]]
1124
+  (0.0ms) SAVEPOINT active_record_2
1125
+ 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", "2017-05-10 02:26:06.151018"], ["id", 1]]
1126
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1127
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1128
+ Redirected to http://test.host/admin/salesforce/
1129
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
1130
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
1131
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1132
+  (0.0ms) SAVEPOINT active_record_1
1133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1134
+  (0.0ms) SAVEPOINT active_record_1
1135
+  (0.0ms) SAVEPOINT active_record_2
1136
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "432cd9c4a8e3884cbf30"], ["name", "Hilda Labadie Jr."], ["oauth_token", "834cdcb12d9364949c6cf85b8b9c4df6"], ["refresh_token", "c7ed84484bd742705032f27984eb81de"], ["instance_url", "http://king.biz/caesar.abshire"], ["created_at", "2017-05-10 02:26:06.160083"], ["updated_at", "2017-05-10 02:26:06.160083"]]
1137
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1138
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1139
+  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1140
+ Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1141
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1142
+  (0.0ms) SAVEPOINT active_record_2
1143
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1144
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1145
+ Redirected to http://test.host/admin/salesforce/
1146
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1147
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1148
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1149
+  (0.1ms) SAVEPOINT active_record_1
1150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1151
+  (0.0ms) SAVEPOINT active_record_1
1152
+ Processing by OpenStax::Salesforce::SettingsController#show as HTML
1153
+ Filter chain halted as #<Proc:0x007fcd1c2e6418@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1154
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1155
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1156
+  (1.9ms) rollback transaction
1157
+  (0.1ms) begin transaction
1158
+  (0.0ms) commit transaction
1159
+  (0.0ms) begin transaction
1160
+  (0.0ms) SAVEPOINT active_record_1
1161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1162
+  (0.0ms) SAVEPOINT active_record_1
1163
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1164
+  (0.0ms) rollback transaction
1165
+  (0.0ms) begin transaction
1166
+  (0.0ms) commit transaction
1167
+  (0.0ms) begin transaction
1168
+  (0.0ms) SAVEPOINT active_record_1
1169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1170
+  (0.0ms) SAVEPOINT active_record_1
1171
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1172
+  (0.0ms) SAVEPOINT active_record_1
1173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1174
+  (0.0ms) SAVEPOINT active_record_1
1175
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1176
+  (0.0ms) SAVEPOINT active_record_1
1177
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1178
+  (0.0ms) SAVEPOINT active_record_1
1179
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1180
+  (0.0ms) SAVEPOINT active_record_1
1181
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1182
+  (0.1ms) SAVEPOINT active_record_1
1183
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1184
+  (0.1ms) SAVEPOINT active_record_1
1185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1186
+  (0.0ms) SAVEPOINT active_record_1
1187
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1188
+  (0.0ms) SAVEPOINT active_record_1
1189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1190
+  (0.0ms) SAVEPOINT active_record_1
1191
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1192
+  (0.0ms) SAVEPOINT active_record_1
1193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1194
+  (0.0ms) SAVEPOINT active_record_1
1195
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1196
+  (0.0ms) SAVEPOINT active_record_1
1197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1198
+  (0.0ms) SAVEPOINT active_record_1
1199
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1200
+  (0.0ms) SAVEPOINT active_record_1
1201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1202
+  (0.0ms) SAVEPOINT active_record_1
1203
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1204
+  (0.0ms) SAVEPOINT active_record_1
1205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1206
+  (0.0ms) SAVEPOINT active_record_1
1207
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1208
+  (0.0ms) rollback transaction
1209
+  (0.1ms) begin transaction
1210
+  (0.0ms) commit transaction
1211
+  (0.0ms) begin transaction
1212
+  (0.0ms) SAVEPOINT active_record_1
1213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1214
+  (0.1ms) SAVEPOINT active_record_1
1215
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1216
+  (0.0ms) SAVEPOINT active_record_1
1217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1218
+  (0.0ms) SAVEPOINT active_record_1
1219
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1220
+  (0.0ms) SAVEPOINT active_record_1
1221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1222
+  (0.0ms) SAVEPOINT active_record_1
1223
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1224
+  (0.1ms) SAVEPOINT active_record_1
1225
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1226
+  (0.0ms) SAVEPOINT active_record_1
1227
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1228
+  (0.0ms) SAVEPOINT active_record_1
1229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1230
+  (0.0ms) SAVEPOINT active_record_1
1231
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1232
+  (0.0ms) SAVEPOINT active_record_1
1233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1234
+  (0.0ms) SAVEPOINT active_record_1
1235
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1236
+  (0.0ms) SAVEPOINT active_record_1
1237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1238
+  (0.0ms) SAVEPOINT active_record_1
1239
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1240
+  (0.0ms) SAVEPOINT active_record_1
1241
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1242
+  (0.0ms) SAVEPOINT active_record_1
1243
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1244
+  (0.0ms) SAVEPOINT active_record_1
1245
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1246
+  (0.0ms) SAVEPOINT active_record_1
1247
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1248
+  (0.0ms) SAVEPOINT active_record_1
1249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1250
+  (0.0ms) SAVEPOINT active_record_1
1251
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1252
+  (0.0ms) SAVEPOINT active_record_1
1253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1254
+  (0.1ms) SAVEPOINT active_record_1
1255
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1256
+  (0.0ms) rollback transaction
1257
+  (0.0ms) begin transaction
1258
+  (0.0ms) commit transaction
1259
+  (0.0ms) begin transaction
1260
+  (0.0ms) SAVEPOINT active_record_1
1261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1262
+  (0.0ms) SAVEPOINT active_record_1
1263
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1264
+  (0.0ms) SAVEPOINT active_record_1
1265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1266
+  (0.0ms) SAVEPOINT active_record_1
1267
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1268
+  (0.0ms) SAVEPOINT active_record_1
1269
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1270
+  (0.0ms) SAVEPOINT active_record_1
1271
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1272
+  (0.0ms) rollback transaction
1273
+  (0.0ms) begin transaction
1274
+  (0.0ms) commit transaction
1275
+  (0.1ms) begin transaction
1276
+  (0.0ms) SAVEPOINT active_record_1
1277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1278
+  (0.0ms) SAVEPOINT active_record_1
1279
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1280
+  (0.0ms) rollback transaction
1281
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1282
+  (2.3ms) DELETE FROM "openstax_salesforce_users";
1283
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1284
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1285
+  (0.1ms) begin transaction
1286
+  (0.0ms) commit transaction
1287
+  (0.1ms) begin transaction
1288
+  (0.1ms) SAVEPOINT active_record_1
1289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1290
+  (0.0ms) SAVEPOINT active_record_1
1291
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1292
+  (0.1ms) rollback transaction
1293
+  (0.4ms) begin transaction
1294
+  (0.0ms) commit transaction
1295
+  (0.0ms) begin transaction
1296
+  (0.0ms) SAVEPOINT active_record_1
1297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1298
+  (0.0ms) SAVEPOINT active_record_1
1299
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1300
+ Filter chain halted as #<Proc:0x007fef241ae620@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1301
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1302
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1303
+  (0.1ms) SAVEPOINT active_record_1
1304
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1305
+  (0.0ms) SAVEPOINT active_record_1
1306
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1307
+ Rendered text template (0.0ms)
1308
+ Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
1309
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1310
+  (0.0ms) rollback transaction
1311
+  (0.0ms) begin transaction
1312
+  (0.0ms) commit transaction
1313
+  (0.1ms) begin transaction
1314
+  (0.1ms) SAVEPOINT active_record_1
1315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1316
+  (0.0ms) SAVEPOINT active_record_1
1317
+  (0.4ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1318
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1319
+ 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"]]
1320
+  (0.0ms) SAVEPOINT active_record_2
1321
+ 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", "2017-05-10 02:28:06.377100"], ["updated_at", "2017-05-10 02:28:06.377100"]]
1322
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1323
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1324
+ Redirected to http://test.host/admin/salesforce/
1325
+ Completed 302 Found in 17ms (ActiveRecord: 0.6ms)
1326
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1327
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1328
+  (0.0ms) SAVEPOINT active_record_1
1329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1330
+  (0.0ms) SAVEPOINT active_record_1
1331
+  (0.1ms) SAVEPOINT active_record_2
1332
+ SQL (0.3ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "2b31eb61bc92c502ef04"], ["name", "Ruthie Moen"], ["oauth_token", "b907aa3d3b58e4eb86bd35457cf1144d"], ["refresh_token", "e68134c8f0c69716703fc01a62b668b6"], ["instance_url", "http://boyerpacocha.co/albert_paucek"], ["created_at", "2017-05-10 02:28:06.923834"], ["updated_at", "2017-05-10 02:28:06.923834"]]
1333
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1334
+  (0.0ms) SAVEPOINT active_record_2
1335
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "72a29ee3a876536ba924"], ["name", "Leta Morissette"], ["oauth_token", "1cb117cff3f2f7fa63838edec3f385a1"], ["refresh_token", "50fa65dac09a6c5af31acd2e72d38262"], ["instance_url", "http://friesen.biz/jeffery_harber"], ["created_at", "2017-05-10 02:28:06.926581"], ["updated_at", "2017-05-10 02:28:06.926581"]]
1336
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1337
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1338
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1339
+ 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"]]
1340
+  (0.0ms) SAVEPOINT active_record_2
1341
+ 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", "2017-05-10 02:28:06.933617"], ["updated_at", "2017-05-10 02:28:06.933617"]]
1342
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
1343
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1344
+ SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
1345
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1346
+ Redirected to http://test.host/admin/salesforce/
1347
+ Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
1348
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1349
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1350
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1351
+  (0.0ms) SAVEPOINT active_record_1
1352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1353
+  (0.0ms) SAVEPOINT active_record_1
1354
+  (0.0ms) SAVEPOINT active_record_2
1355
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Cleta Turcotte"], ["oauth_token", "fd2c21629e64555ab56f71324da3eb78"], ["refresh_token", "ccef7c73a7cdca0512ba828e0c297a70"], ["instance_url", "http://greenfelderemmerich.biz/hyman_bashirian"], ["created_at", "2017-05-10 02:28:06.942092"], ["updated_at", "2017-05-10 02:28:06.942092"]]
1356
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1357
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1358
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1359
+ 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"]]
1360
+  (0.0ms) SAVEPOINT active_record_2
1361
+ 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", "2017-05-10 02:28:06.948345"], ["id", 1]]
1362
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1363
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1364
+ Redirected to http://test.host/admin/salesforce/
1365
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
1366
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
1367
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1368
+  (0.0ms) SAVEPOINT active_record_1
1369
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1370
+  (0.0ms) SAVEPOINT active_record_1
1371
+  (0.0ms) SAVEPOINT active_record_2
1372
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "0af08ec51837f2987b5d"], ["name", "Makayla Marquardt DVM"], ["oauth_token", "c40c89a2f1453dd892018d0053c0d626"], ["refresh_token", "4ec666e38d8adf1c6d8523dba4f50b2f"], ["instance_url", "http://rowenolan.io/adelia"], ["created_at", "2017-05-10 02:28:06.955971"], ["updated_at", "2017-05-10 02:28:06.955971"]]
1373
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1374
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1375
+  (0.0ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1376
+ Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1377
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1378
+  (0.0ms) SAVEPOINT active_record_2
1379
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1380
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1381
+ Redirected to http://test.host/admin/salesforce/
1382
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1383
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1384
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1385
+  (0.0ms) SAVEPOINT active_record_1
1386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1387
+  (0.0ms) SAVEPOINT active_record_1
1388
+ Processing by OpenStax::Salesforce::SettingsController#show as HTML
1389
+ Filter chain halted as #<Proc:0x007fef241ae620@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1390
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1391
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1392
+  (2.0ms) rollback transaction
1393
+  (0.0ms) begin transaction
1394
+  (0.0ms) commit transaction
1395
+  (0.0ms) begin transaction
1396
+  (0.0ms) SAVEPOINT active_record_1
1397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1398
+  (0.0ms) SAVEPOINT active_record_1
1399
+  (0.0ms) 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.1ms) ROLLBACK TO SAVEPOINT active_record_1
1408
+  (0.0ms) SAVEPOINT active_record_1
1409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1410
+  (0.0ms) SAVEPOINT active_record_1
1411
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
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.0ms) 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) SAVEPOINT active_record_1
1425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1426
+  (0.0ms) SAVEPOINT active_record_1
1427
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
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) SAVEPOINT active_record_1
1433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1434
+  (0.1ms) SAVEPOINT active_record_1
1435
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1436
+  (0.0ms) SAVEPOINT active_record_1
1437
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1438
+  (0.0ms) SAVEPOINT active_record_1
1439
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1440
+  (0.0ms) SAVEPOINT active_record_1
1441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1442
+  (0.0ms) SAVEPOINT active_record_1
1443
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1444
+  (0.0ms) rollback transaction
1445
+  (0.0ms) begin transaction
1446
+  (0.0ms) commit transaction
1447
+  (0.0ms) begin transaction
1448
+  (0.0ms) SAVEPOINT active_record_1
1449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1450
+  (0.0ms) SAVEPOINT active_record_1
1451
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1452
+  (0.0ms) SAVEPOINT active_record_1
1453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1454
+  (0.0ms) SAVEPOINT active_record_1
1455
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1456
+  (0.0ms) SAVEPOINT active_record_1
1457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1458
+  (0.0ms) SAVEPOINT active_record_1
1459
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1460
+  (0.0ms) SAVEPOINT active_record_1
1461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1462
+  (0.0ms) SAVEPOINT active_record_1
1463
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1464
+  (0.0ms) SAVEPOINT active_record_1
1465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1466
+  (0.0ms) SAVEPOINT active_record_1
1467
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1468
+  (0.0ms) SAVEPOINT active_record_1
1469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1470
+  (0.0ms) SAVEPOINT active_record_1
1471
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1472
+  (0.0ms) SAVEPOINT active_record_1
1473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1474
+  (0.0ms) SAVEPOINT active_record_1
1475
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1476
+  (0.0ms) SAVEPOINT active_record_1
1477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1478
+  (0.0ms) SAVEPOINT active_record_1
1479
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1480
+  (0.0ms) SAVEPOINT active_record_1
1481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1482
+  (0.0ms) SAVEPOINT active_record_1
1483
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1484
+  (0.0ms) SAVEPOINT active_record_1
1485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1486
+  (0.0ms) SAVEPOINT active_record_1
1487
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1488
+  (0.0ms) SAVEPOINT active_record_1
1489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1490
+  (0.0ms) SAVEPOINT active_record_1
1491
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1492
+  (0.0ms) rollback transaction
1493
+  (0.0ms) begin transaction
1494
+  (0.0ms) commit transaction
1495
+  (0.0ms) begin transaction
1496
+  (0.0ms) SAVEPOINT active_record_1
1497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1498
+  (0.0ms) SAVEPOINT active_record_1
1499
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1500
+  (0.0ms) SAVEPOINT active_record_1
1501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1502
+  (0.0ms) SAVEPOINT active_record_1
1503
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1504
+  (0.0ms) SAVEPOINT active_record_1
1505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1506
+  (0.0ms) SAVEPOINT active_record_1
1507
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1508
+  (0.0ms) rollback transaction
1509
+  (0.0ms) begin transaction
1510
+  (0.0ms) commit transaction
1511
+  (0.0ms) begin transaction
1512
+  (0.0ms) SAVEPOINT active_record_1
1513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1514
+  (0.0ms) SAVEPOINT active_record_1
1515
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1516
+  (0.0ms) rollback transaction
1517
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1518
+  (1.0ms) DELETE FROM "openstax_salesforce_users";
1519
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1520
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
1521
+  (0.0ms) begin transaction
1522
+  (0.0ms) commit transaction
1523
+  (0.0ms) begin transaction
1524
+  (0.0ms) SAVEPOINT active_record_1
1525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1526
+  (0.0ms) SAVEPOINT active_record_1
1527
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1528
+  (0.0ms) rollback transaction
1529
+  (0.1ms) begin transaction
1530
+  (0.0ms) commit transaction
1531
+  (0.0ms) begin transaction
1532
+  (0.0ms) SAVEPOINT active_record_1
1533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1534
+  (0.0ms) SAVEPOINT active_record_1
1535
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1536
+ Filter chain halted as #<Proc:0x007ffa1f069610@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1537
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1538
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1539
+  (0.0ms) SAVEPOINT active_record_1
1540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1541
+  (0.0ms) SAVEPOINT active_record_1
1542
+ Processing by OpenStax::Salesforce::ApplicationController#index as HTML
1543
+ Rendered text template (0.0ms)
1544
+ Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
1545
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1546
+  (0.0ms) rollback transaction
1547
+  (0.0ms) begin transaction
1548
+  (0.0ms) commit transaction
1549
+  (0.0ms) begin transaction
1550
+  (0.0ms) SAVEPOINT active_record_1
1551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1552
+  (0.1ms) SAVEPOINT active_record_1
1553
+  (0.2ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1554
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1555
+ OpenStax::Salesforce::User Load (0.3ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
1556
+  (0.0ms) SAVEPOINT active_record_2
1557
+ 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", "2017-05-10 02:58:51.314240"], ["updated_at", "2017-05-10 02:58:51.314240"]]
1558
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1559
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1560
+ Redirected to http://test.host/admin/salesforce/
1561
+ Completed 302 Found in 19ms (ActiveRecord: 0.8ms)
1562
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1563
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1564
+  (0.0ms) SAVEPOINT active_record_1
1565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1566
+  (0.1ms) SAVEPOINT active_record_1
1567
+  (0.1ms) SAVEPOINT active_record_2
1568
+ SQL (0.4ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "a967fa0aa50e5670a084"], ["name", "Jacinto Gutmann"], ["oauth_token", "98cb51d8101e5f0dc9457bdeefb2fae4"], ["refresh_token", "6b8cecf419421812d71d012b2297e211"], ["instance_url", "http://braunpfeffer.org/lance"], ["created_at", "2017-05-10 02:58:51.838137"], ["updated_at", "2017-05-10 02:58:51.838137"]]
1569
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1570
+  (0.1ms) SAVEPOINT active_record_2
1571
+ SQL (0.2ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "ffad5d1b101ab903fc4c"], ["name", "Ms. Marques Ortiz"], ["oauth_token", "7d27ba4696c095774877d56c51495635"], ["refresh_token", "c744b6abde8d3bf5d6134c7e9a0537db"], ["instance_url", "http://trantow.io/anthony"], ["created_at", "2017-05-10 02:58:51.841406"], ["updated_at", "2017-05-10 02:58:51.841406"]]
1572
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1573
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1574
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1575
+ 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"]]
1576
+  (0.0ms) SAVEPOINT active_record_2
1577
+ 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", "2017-05-10 02:58:51.849878"], ["updated_at", "2017-05-10 02:58:51.849878"]]
1578
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
1579
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1580
+ SQL (0.0ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
1581
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1582
+ Redirected to http://test.host/admin/salesforce/
1583
+ Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
1584
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1585
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1586
+  (0.1ms) 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) SAVEPOINT active_record_2
1591
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Mrs. Peter Armstrong"], ["oauth_token", "8828ac642a078e664d63468354f2ee66"], ["refresh_token", "530fefff2146e65204290c230bbf9155"], ["instance_url", "http://cole.com/shanel"], ["created_at", "2017-05-10 02:58:51.859878"], ["updated_at", "2017-05-10 02:58:51.859878"]]
1592
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1593
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1594
+ Processing by OpenStax::Salesforce::SettingsController#callback as HTML
1595
+ 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"]]
1596
+  (0.0ms) SAVEPOINT active_record_2
1597
+ 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", "2017-05-10 02:58:51.865964"], ["id", 1]]
1598
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1599
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1600
+ Redirected to http://test.host/admin/salesforce/
1601
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
1602
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1 [["id", 1]]
1603
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1604
+  (0.1ms) SAVEPOINT active_record_1
1605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1606
+  (0.0ms) SAVEPOINT active_record_1
1607
+  (0.1ms) SAVEPOINT active_record_2
1608
+ SQL (0.1ms) INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "57cf3f0edc3571616957"], ["name", "Miss Ulices Anderson"], ["oauth_token", "63a6720d6df62f4f6f12427aeb1a4ec0"], ["refresh_token", "bd555e0086ea21517627295941ba2328"], ["instance_url", "http://fritschlockman.org/federico"], ["created_at", "2017-05-10 02:58:51.876827"], ["updated_at", "2017-05-10 02:58:51.876827"]]
1609
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
1610
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1611
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1612
+ Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
1613
+ OpenStax::Salesforce::User Load (0.1ms) SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
1614
+  (0.0ms) SAVEPOINT active_record_2
1615
+ SQL (0.1ms) DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
1616
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1617
+ Redirected to http://test.host/admin/salesforce/
1618
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1619
+  (0.1ms) SELECT COUNT(*) FROM "openstax_salesforce_users"
1620
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1621
+  (0.0ms) SAVEPOINT active_record_1
1622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1623
+  (0.0ms) SAVEPOINT active_record_1
1624
+ Processing by OpenStax::Salesforce::SettingsController#show as HTML
1625
+ Filter chain halted as #<Proc:0x007ffa1f069610@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
1626
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1627
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1628
+  (0.7ms) rollback transaction
1629
+  (0.0ms) begin transaction
1630
+  (0.0ms) commit transaction
1631
+  (0.0ms) begin transaction
1632
+  (0.0ms) SAVEPOINT active_record_1
1633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1634
+  (0.0ms) SAVEPOINT active_record_1
1635
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1636
+  (0.0ms) rollback transaction
1637
+  (0.0ms) begin transaction
1638
+  (0.0ms) commit transaction
1639
+  (0.0ms) begin transaction
1640
+  (0.0ms) SAVEPOINT active_record_1
1641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1642
+  (0.0ms) SAVEPOINT active_record_1
1643
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1644
+  (0.0ms) SAVEPOINT active_record_1
1645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1646
+  (0.0ms) SAVEPOINT active_record_1
1647
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1648
+  (0.0ms) SAVEPOINT active_record_1
1649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1650
+  (0.0ms) SAVEPOINT active_record_1
1651
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1652
+  (0.0ms) SAVEPOINT active_record_1
1653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1654
+  (0.0ms) SAVEPOINT active_record_1
1655
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1656
+  (0.0ms) SAVEPOINT active_record_1
1657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1658
+  (0.0ms) SAVEPOINT active_record_1
1659
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1660
+  (0.0ms) SAVEPOINT active_record_1
1661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1662
+  (0.0ms) SAVEPOINT active_record_1
1663
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1664
+  (0.0ms) SAVEPOINT active_record_1
1665
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1666
+  (0.0ms) SAVEPOINT active_record_1
1667
+  (0.0ms) 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
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1672
+  (0.0ms) SAVEPOINT active_record_1
1673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1674
+  (0.0ms) SAVEPOINT active_record_1
1675
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1676
+  (0.0ms) SAVEPOINT active_record_1
1677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1678
+  (0.0ms) SAVEPOINT active_record_1
1679
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1680
+  (0.0ms) rollback transaction
1681
+  (0.0ms) begin transaction
1682
+  (0.0ms) commit transaction
1683
+  (0.0ms) begin transaction
1684
+  (0.0ms) SAVEPOINT active_record_1
1685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1686
+  (0.0ms) SAVEPOINT active_record_1
1687
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1688
+  (0.0ms) SAVEPOINT active_record_1
1689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1690
+  (0.0ms) SAVEPOINT active_record_1
1691
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1692
+  (0.0ms) SAVEPOINT active_record_1
1693
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1694
+  (0.0ms) SAVEPOINT active_record_1
1695
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1696
+  (0.0ms) SAVEPOINT active_record_1
1697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1698
+  (0.0ms) SAVEPOINT active_record_1
1699
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1700
+  (0.0ms) SAVEPOINT active_record_1
1701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1702
+  (0.0ms) SAVEPOINT active_record_1
1703
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1704
+  (0.1ms) SAVEPOINT active_record_1
1705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1706
+  (0.0ms) SAVEPOINT active_record_1
1707
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1708
+  (0.0ms) SAVEPOINT active_record_1
1709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1710
+  (0.0ms) SAVEPOINT active_record_1
1711
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1712
+  (0.0ms) SAVEPOINT active_record_1
1713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1714
+  (0.0ms) SAVEPOINT active_record_1
1715
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1716
+  (0.0ms) SAVEPOINT active_record_1
1717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1718
+  (0.0ms) SAVEPOINT active_record_1
1719
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1720
+  (0.0ms) SAVEPOINT active_record_1
1721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1722
+  (0.0ms) SAVEPOINT active_record_1
1723
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1724
+  (0.0ms) SAVEPOINT active_record_1
1725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1726
+  (0.0ms) SAVEPOINT active_record_1
1727
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1728
+  (0.0ms) rollback transaction
1729
+  (0.0ms) begin transaction
1730
+  (0.0ms) commit transaction
1731
+  (0.0ms) begin transaction
1732
+  (0.0ms) SAVEPOINT active_record_1
1733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1734
+  (0.0ms) SAVEPOINT active_record_1
1735
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1736
+  (0.0ms) SAVEPOINT active_record_1
1737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1738
+  (0.0ms) SAVEPOINT active_record_1
1739
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1740
+  (0.0ms) SAVEPOINT active_record_1
1741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1742
+  (0.0ms) SAVEPOINT active_record_1
1743
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1744
+  (0.0ms) rollback transaction
1745
+  (0.0ms) begin transaction
1746
+  (0.0ms) commit transaction
1747
+  (0.0ms) begin transaction
1748
+  (0.0ms) SAVEPOINT active_record_1
1749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1750
+  (0.0ms) SAVEPOINT active_record_1
1751
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1752
+  (0.0ms) rollback transaction