openstax_salesforce 3.0.0 → 3.1.0

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