coalescing_panda 1.1.8 → 1.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: dc79d15879f71ed1d51f6a8c0f80ac3b9e92c603
4
- data.tar.gz: 8a3cc2e0bcbc16a30069f5716322d7de38c844c5
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZGRmMDk4Y2QwYTg3MzYxOTZhMDE4ZDkzMzQ1OTJlOTdiZjNiM2RjZQ==
5
+ data.tar.gz: !binary |-
6
+ NGY3MGQ5ZDY1Y2Q1MzM5ZjY3MWE2NGM3ZTYyOWI2Y2NiMWQzZTk0MQ==
5
7
  SHA512:
6
- metadata.gz: 37b10b11fedd389a85fca4561186a79f93e416022de3d6ab47eecebd016b0a6f6bfa024e4504c2080a0f3298f0d1726114bf34f17ddeb76f09f561328e002731
7
- data.tar.gz: caa38640ee03b459020ef82fd2ba0237aefa0e7cd60fb453a39b078c6eeac291d6e34cd0266a8c33ff247fecccb34ac37107be01564edf3057955ab78a60a118
8
+ metadata.gz: !binary |-
9
+ ZDQ0MDJlNGJmZGY0YTQ1ZmVjY2UyYzlhNGFiYzdkNWM5OTBiYjkxYTJiMzI1
10
+ NTJkZTJlZjY0M2Y1NjMwOTkzNDEyZjZmZjY5NTY1ZDM5ZjY1ZGYwZmM2NGE1
11
+ YzlkMTRmM2Q2NzA3MmVmNDU5N2Y3NDJhOTU5NTUzZmJhODY1NWU=
12
+ data.tar.gz: !binary |-
13
+ YWM5Mzc5NDRjMjcxZDhjYzFhZmJhMGM5NmFlODQ3ZGM1YzlmMDZjZjBiYjNl
14
+ MmYzYmMyYjg1NDI3ZjZlNjZmMzE1ZTJlZTQ5ZjkyNWU5NTY0NDgxZjJmMTk2
15
+ M2QwNDExY2U1NDViMzlmM2U0ODUyYTE1MWQ4ODc4ODYzNTdlMTM=
@@ -61,8 +61,11 @@ module CoalescingPanda
61
61
  @tp = IMS::LTI::ToolProvider.new(@lti_account.key, @lti_account.secret, params)
62
62
  authorized = @tp.valid_request?(request)
63
63
  end
64
+ logger.error 'not authorized on tp valid request' unless authorized
64
65
  authorized = authorized && (roles.count == 0 || (roles & lti_roles).count > 0)
66
+ logger.error 'not authorized on roles' unless authorized
65
67
  authorized = authorized && @lti_account.validate_nonce(params['oauth_nonce'], DateTime.strptime(params['oauth_timestamp'], '%s'))
68
+ logger.error 'not authorized on nonce' unless authorized
66
69
  if !authorized
67
70
  render :text => 'Invalid Credentials, please contact your Administrator.', :status => :unauthorized
68
71
  end
@@ -1,3 +1,3 @@
1
1
  module CoalescingPanda
2
- VERSION = '1.1.8'
2
+ VERSION = '1.1.10'
3
3
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coalescing_panda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.8
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Mills
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-08 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: bearcat
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.9.18
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.9.18
41
41
  - !ruby/object:Gem::Dependency
@@ -56,28 +56,28 @@ dependencies:
56
56
  name: ims-lti
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: haml-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
@@ -98,14 +98,14 @@ dependencies:
98
98
  name: jquery-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
@@ -126,112 +126,126 @@ dependencies:
126
126
  name: protected_attributes
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ! '>='
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: p3p
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ! '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ! '>='
137
151
  - !ruby/object:Gem::Version
138
152
  version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: sqlite3
141
155
  requirement: !ruby/object:Gem::Requirement
142
156
  requirements:
143
- - - '>='
157
+ - - ! '>='
144
158
  - !ruby/object:Gem::Version
145
159
  version: '0'
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
- - - '>='
164
+ - - ! '>='
151
165
  - !ruby/object:Gem::Version
152
166
  version: '0'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: rspec-rails
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
- - - '>='
171
+ - - ! '>='
158
172
  - !ruby/object:Gem::Version
159
173
  version: '0'
160
174
  type: :development
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - '>='
178
+ - - ! '>='
165
179
  - !ruby/object:Gem::Version
166
180
  version: '0'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: shoulda-matchers
169
183
  requirement: !ruby/object:Gem::Requirement
170
184
  requirements:
171
- - - '>='
185
+ - - ! '>='
172
186
  - !ruby/object:Gem::Version
173
187
  version: '0'
174
188
  type: :development
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
- - - '>='
192
+ - - ! '>='
179
193
  - !ruby/object:Gem::Version
180
194
  version: '0'
181
195
  - !ruby/object:Gem::Dependency
182
196
  name: nokogiri
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
- - - '>='
199
+ - - ! '>='
186
200
  - !ruby/object:Gem::Version
187
201
  version: '0'
188
202
  type: :development
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
- - - '>='
206
+ - - ! '>='
193
207
  - !ruby/object:Gem::Version
194
208
  version: '0'
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: simplecov
197
211
  requirement: !ruby/object:Gem::Requirement
198
212
  requirements:
199
- - - '>='
213
+ - - ! '>='
200
214
  - !ruby/object:Gem::Version
201
215
  version: '0'
202
216
  type: :development
203
217
  prerelease: false
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
- - - '>='
220
+ - - ! '>='
207
221
  - !ruby/object:Gem::Version
208
222
  version: '0'
209
223
  - !ruby/object:Gem::Dependency
210
224
  name: debugger
211
225
  requirement: !ruby/object:Gem::Requirement
212
226
  requirements:
213
- - - '>='
227
+ - - ! '>='
214
228
  - !ruby/object:Gem::Version
215
229
  version: '0'
216
230
  type: :development
217
231
  prerelease: false
218
232
  version_requirements: !ruby/object:Gem::Requirement
219
233
  requirements:
220
- - - '>='
234
+ - - ! '>='
221
235
  - !ruby/object:Gem::Version
222
236
  version: '0'
223
237
  - !ruby/object:Gem::Dependency
224
238
  name: pry
225
239
  requirement: !ruby/object:Gem::Requirement
226
240
  requirements:
227
- - - '>='
241
+ - - ! '>='
228
242
  - !ruby/object:Gem::Version
229
243
  version: '0'
230
244
  type: :development
231
245
  prerelease: false
232
246
  version_requirements: !ruby/object:Gem::Requirement
233
247
  requirements:
234
- - - '>='
248
+ - - ! '>='
235
249
  - !ruby/object:Gem::Version
236
250
  version: '0'
237
251
  description:
@@ -241,6 +255,7 @@ executables: []
241
255
  extensions: []
242
256
  extra_rdoc_files: []
243
257
  files:
258
+ - Rakefile
244
259
  - app/assets/images/bootstrap/glyphicons-halflings-white.png
245
260
  - app/assets/images/bootstrap/glyphicons-halflings.png
246
261
  - app/assets/javascripts/bootstrap/bootstrap-datepicker.js
@@ -271,15 +286,16 @@ files:
271
286
  - db/migrate/20131118211442_create_coalescing_panda_lti_accounts.rb
272
287
  - db/migrate/20131119165343_create_coalescing_panda_lti_nonces.rb
273
288
  - db/migrate/20140722210735_add_settings_to_coalescing_panda_lti_account.rb
289
+ - lib/coalescing_panda.rb
274
290
  - lib/coalescing_panda/controller_helpers.rb
275
291
  - lib/coalescing_panda/engine.rb
276
292
  - lib/coalescing_panda/route_helpers.rb
277
293
  - lib/coalescing_panda/version.rb
278
- - lib/coalescing_panda.rb
279
294
  - lib/tasks/coalescing_panda_tasks.rake
280
- - Rakefile
281
295
  - spec/controllers/coalescing_panda/lti_controller_spec.rb
282
296
  - spec/controllers/coalescing_panda/oauth2_controller_spec.rb
297
+ - spec/dummy/README.rdoc
298
+ - spec/dummy/Rakefile
283
299
  - spec/dummy/app/assets/javascripts/application.js
284
300
  - spec/dummy/app/assets/stylesheets/application.css
285
301
  - spec/dummy/app/controllers/application_controller.rb
@@ -288,6 +304,7 @@ files:
288
304
  - spec/dummy/bin/bundle
289
305
  - spec/dummy/bin/rails
290
306
  - spec/dummy/bin/rake
307
+ - spec/dummy/config.ru
291
308
  - spec/dummy/config/application.rb
292
309
  - spec/dummy/config/boot.rb
293
310
  - spec/dummy/config/database.yml
@@ -305,16 +322,12 @@ files:
305
322
  - spec/dummy/config/initializers/wrap_parameters.rb
306
323
  - spec/dummy/config/locales/en.yml
307
324
  - spec/dummy/config/routes.rb
308
- - spec/dummy/config.ru
309
325
  - spec/dummy/db/schema.rb
310
- - spec/dummy/db/test.sqlite3
311
- - spec/dummy/log/test.log
326
+ - spec/dummy/log/development.log
312
327
  - spec/dummy/public/404.html
313
328
  - spec/dummy/public/422.html
314
329
  - spec/dummy/public/500.html
315
330
  - spec/dummy/public/favicon.ico
316
- - spec/dummy/Rakefile
317
- - spec/dummy/README.rdoc
318
331
  - spec/models/coalescing_panda/canvas_api_auth_spec.rb
319
332
  - spec/spec_helper.rb
320
333
  homepage: http://www.instructure.com
@@ -326,17 +339,17 @@ require_paths:
326
339
  - lib
327
340
  required_ruby_version: !ruby/object:Gem::Requirement
328
341
  requirements:
329
- - - '>='
342
+ - - ! '>='
330
343
  - !ruby/object:Gem::Version
331
344
  version: '0'
332
345
  required_rubygems_version: !ruby/object:Gem::Requirement
333
346
  requirements:
334
- - - '>='
347
+ - - ! '>='
335
348
  - !ruby/object:Gem::Version
336
349
  version: '0'
337
350
  requirements: []
338
351
  rubyforge_project:
339
- rubygems_version: 2.0.3
352
+ rubygems_version: 2.2.2
340
353
  signing_key:
341
354
  specification_version: 4
342
355
  summary: Canvas LTI and OAUTH2 mountable engine
@@ -370,8 +383,7 @@ test_files:
370
383
  - spec/dummy/config/routes.rb
371
384
  - spec/dummy/config.ru
372
385
  - spec/dummy/db/schema.rb
373
- - spec/dummy/db/test.sqlite3
374
- - spec/dummy/log/test.log
386
+ - spec/dummy/log/development.log
375
387
  - spec/dummy/public/404.html
376
388
  - spec/dummy/public/422.html
377
389
  - spec/dummy/public/500.html
Binary file
@@ -1,336 +0,0 @@
1
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
5
-  (0.1ms) begin transaction
6
-  (0.3ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime) 
7
- SQL (2.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
8
-  (0.9ms) commit transaction
9
- Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
10
-  (0.1ms) begin transaction
11
-  (0.3ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime) 
12
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
13
-  (1.0ms) commit transaction
14
- Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
15
-  (0.1ms) begin transaction
16
-  (0.3ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) 
17
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
18
-  (0.7ms) commit transaction
19
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
20
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
-  (0.1ms) begin transaction
22
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
23
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
24
-  (0.1ms) rollback transaction
25
-  (0.1ms) begin transaction
26
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
27
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
28
-  (0.1ms) rollback transaction
29
-  (0.1ms) begin transaction
30
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
31
-  (0.0ms) SAVEPOINT active_record_1
32
- SQL (4.2ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:08:34 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:08:34 UTC +00:00], ["user_id", "arbitrary_string"]]
33
-  (0.1ms) RELEASE SAVEPOINT active_record_1
34
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
35
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
36
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
37
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
38
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
39
-  (0.5ms) rollback transaction
40
-  (0.1ms) begin transaction
41
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
42
- Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
43
- CoalescingPanda::LtiAccount Load (0.2ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
44
- Completed 500 Internal Server Error in 30ms
45
-  (0.1ms) rollback transaction
46
-  (0.1ms) begin transaction
47
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
48
- Parameters: {"error"=>"your face"}
49
- Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
50
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
51
-  (0.1ms) rollback transaction
52
-  (0.1ms) begin transaction
53
-  (0.1ms) rollback transaction
54
-  (0.1ms) begin transaction
55
- Processing by CoalescingPanda::LtiController#lti_config as HTML
56
- Completed 500 Internal Server Error in 0ms
57
-  (0.1ms) rollback transaction
58
-  (0.1ms) begin transaction
59
-  (0.1ms) rollback transaction
60
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
61
-  (0.1ms) begin transaction
62
-  (0.1ms) rollback transaction
63
-  (0.1ms) begin transaction
64
-  (0.1ms) rollback transaction
65
-  (0.1ms) begin transaction
66
- Processing by CoalescingPanda::LtiController#lti_config as HTML
67
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
68
-  (0.1ms) rollback transaction
69
-  (0.1ms) begin transaction
70
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
71
- Parameters: {"error"=>"your face"}
72
- Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
73
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
74
-  (0.1ms) rollback transaction
75
-  (0.1ms) begin transaction
76
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
77
- Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
78
- CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
79
- Completed 500 Internal Server Error in 9ms
80
-  (0.1ms) rollback transaction
81
-  (0.1ms) begin transaction
82
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
83
-  (0.1ms) SAVEPOINT active_record_1
84
- SQL (5.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:10:28 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:10:28 UTC +00:00], ["user_id", "arbitrary_string"]]
85
-  (0.1ms) RELEASE SAVEPOINT active_record_1
86
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
87
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
88
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
89
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
90
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
91
-  (0.7ms) rollback transaction
92
-  (0.1ms) begin transaction
93
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
94
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
95
-  (0.1ms) rollback transaction
96
-  (0.1ms) begin transaction
97
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
98
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
99
-  (0.1ms) rollback transaction
100
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
101
-  (0.1ms) begin transaction
102
-  (0.1ms) rollback transaction
103
-  (0.1ms) begin transaction
104
- Processing by CoalescingPanda::LtiController#lti_config as HTML
105
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
106
-  (0.1ms) rollback transaction
107
-  (0.1ms) begin transaction
108
- Processing by CoalescingPanda::LtiController#lti_config as HTML
109
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
110
-  (0.1ms) rollback transaction
111
-  (0.1ms) begin transaction
112
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
113
-  (0.0ms) SAVEPOINT active_record_1
114
- SQL (5.7ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:12:07 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:12:07 UTC +00:00], ["user_id", "arbitrary_string"]]
115
-  (0.1ms) RELEASE SAVEPOINT active_record_1
116
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
117
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
118
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
119
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
120
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
121
-  (0.6ms) rollback transaction
122
-  (0.1ms) begin transaction
123
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
124
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
125
-  (0.1ms) rollback transaction
126
-  (0.1ms) begin transaction
127
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
128
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
129
-  (0.1ms) rollback transaction
130
-  (0.1ms) begin transaction
131
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
132
- Parameters: {"error"=>"your face"}
133
- Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)
134
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
135
-  (0.1ms) rollback transaction
136
-  (0.1ms) begin transaction
137
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
138
- Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
139
- CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
140
- Completed 500 Internal Server Error in 8ms
141
-  (0.1ms) rollback transaction
142
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
143
-  (0.1ms) begin transaction
144
-  (0.1ms) rollback transaction
145
-  (0.1ms) begin transaction
146
- Processing by CoalescingPanda::LtiController#lti_config as HTML
147
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
148
-  (0.1ms) rollback transaction
149
-  (0.1ms) begin transaction
150
-  (0.1ms) rollback transaction
151
-  (0.1ms) begin transaction
152
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
153
-  (0.0ms) SAVEPOINT active_record_1
154
- SQL (5.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:17:23 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:17:23 UTC +00:00], ["user_id", "arbitrary_string"]]
155
-  (0.1ms) RELEASE SAVEPOINT active_record_1
156
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
157
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
158
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
159
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
160
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
161
-  (1.5ms) rollback transaction
162
-  (0.1ms) begin transaction
163
- CoalescingPanda::CanvasApiAuth Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
164
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
165
-  (0.1ms) rollback transaction
166
-  (0.1ms) begin transaction
167
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
168
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
169
-  (0.1ms) rollback transaction
170
-  (0.1ms) begin transaction
171
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
172
- Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
173
- CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
174
- Completed 500 Internal Server Error in 29ms
175
-  (0.1ms) rollback transaction
176
-  (0.1ms) begin transaction
177
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
178
- Parameters: {"error"=>"your face"}
179
- Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
180
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
181
-  (0.1ms) rollback transaction
182
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
183
-  (0.1ms) begin transaction
184
-  (0.1ms) rollback transaction
185
-  (0.1ms) begin transaction
186
- Processing by CoalescingPanda::LtiController#lti_config as HTML
187
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
188
-  (0.1ms) rollback transaction
189
-  (0.1ms) begin transaction
190
- Processing by CoalescingPanda::LtiController#lti_config as HTML
191
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
192
-  (0.1ms) rollback transaction
193
-  (0.1ms) begin transaction
194
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
195
-  (0.0ms) SAVEPOINT active_record_1
196
- SQL (5.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 08 Jan 2014 15:21:24 UTC +00:00], ["updated_at", Wed, 08 Jan 2014 15:21:24 UTC +00:00], ["user_id", "arbitrary_string"]]
197
-  (0.1ms) RELEASE SAVEPOINT active_record_1
198
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
199
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
200
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
201
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
202
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'arbitrary_string' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
203
-  (1.8ms) rollback transaction
204
-  (0.1ms) begin transaction
205
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
206
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
207
-  (0.1ms) rollback transaction
208
-  (0.1ms) begin transaction
209
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
210
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
211
-  (0.1ms) rollback transaction
212
-  (0.1ms) begin transaction
213
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
214
- Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
215
- CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
216
- Completed 500 Internal Server Error in 8ms
217
-  (0.1ms) rollback transaction
218
-  (0.1ms) begin transaction
219
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
220
- Parameters: {"error"=>"your face"}
221
- Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
222
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
223
-  (0.1ms) rollback transaction
224
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
225
-  (0.1ms) begin transaction
226
-  (0.1ms) rollback transaction
227
-  (0.1ms) begin transaction
228
- Processing by CoalescingPanda::LtiController#lti_config as HTML
229
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
230
-  (0.1ms) rollback transaction
231
-  (0.1ms) begin transaction
232
- Processing by CoalescingPanda::LtiController#lti_config as HTML
233
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
234
-  (0.1ms) rollback transaction
235
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
236
-  (0.1ms) begin transaction
237
-  (0.1ms) rollback transaction
238
-  (0.1ms) begin transaction
239
- Processing by CoalescingPanda::LtiController#lti_config as HTML
240
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
241
-  (0.1ms) rollback transaction
242
-  (0.1ms) begin transaction
243
- Processing by CoalescingPanda::LtiController#lti_config as HTML
244
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
245
-  (0.1ms) rollback transaction
246
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
247
-  (0.1ms) begin transaction
248
-  (0.1ms) rollback transaction
249
-  (0.1ms) begin transaction
250
- Processing by CoalescingPanda::LtiController#lti_config as HTML
251
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
252
-  (0.1ms) rollback transaction
253
-  (0.1ms) begin transaction
254
- Processing by CoalescingPanda::LtiController#lti_config as HTML
255
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
256
-  (0.1ms) rollback transaction
257
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
258
-  (0.1ms) begin transaction
259
-  (0.1ms) rollback transaction
260
-  (0.1ms) begin transaction
261
- Processing by CoalescingPanda::LtiController#lti_config as HTML
262
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
263
-  (0.1ms) rollback transaction
264
-  (0.1ms) begin transaction
265
- Processing by CoalescingPanda::LtiController#lti_config as HTML
266
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
267
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
268
-  (0.1ms) begin transaction
269
-  (0.1ms) rollback transaction
270
-  (0.1ms) begin transaction
271
- Processing by CoalescingPanda::LtiController#lti_config as HTML
272
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
273
-  (0.1ms) rollback transaction
274
-  (0.1ms) begin transaction
275
- Processing by CoalescingPanda::LtiController#lti_config as HTML
276
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
277
-  (0.1ms) rollback transaction
278
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
279
-  (0.1ms) begin transaction
280
-  (0.1ms) rollback transaction
281
-  (0.1ms) begin transaction
282
- Processing by CoalescingPanda::LtiController#lti_config as HTML
283
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
284
-  (0.1ms) rollback transaction
285
-  (0.1ms) begin transaction
286
- Processing by CoalescingPanda::LtiController#lti_config as HTML
287
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
288
-  (0.1ms) rollback transaction
289
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
290
-  (0.1ms) begin transaction
291
-  (0.1ms) rollback transaction
292
-  (0.1ms) begin transaction
293
-  (0.1ms) rollback transaction
294
-  (0.1ms) begin transaction
295
- Processing by CoalescingPanda::LtiController#lti_config as HTML
296
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
297
-  (0.1ms) rollback transaction
298
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
299
-  (0.1ms) begin transaction
300
-  (0.1ms) rollback transaction
301
-  (0.1ms) begin transaction
302
- Processing by CoalescingPanda::LtiController#lti_config as HTML
303
- Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
304
-  (0.1ms) rollback transaction
305
-  (0.1ms) begin transaction
306
- Processing by CoalescingPanda::LtiController#lti_config as HTML
307
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
308
-  (0.1ms) rollback transaction
309
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
310
-  (0.1ms) begin transaction
311
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
312
- Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
313
- CoalescingPanda::LtiAccount Load (0.1ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
314
- Completed 500 Internal Server Error in 10ms
315
-  (0.1ms) rollback transaction
316
-  (0.1ms) begin transaction
317
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
318
- Parameters: {"error"=>"your face"}
319
- Completed 200 OK in 39ms (Views: 38.7ms | ActiveRecord: 0.0ms)
320
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
321
-  (0.1ms) rollback transaction
322
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
323
-  (0.1ms) begin transaction
324
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
325
- Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
326
- CoalescingPanda::LtiAccount Load (0.2ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts"
327
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_lti_accounts"
328
- CoalescingPanda::LtiAccount Load (0.2ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
329
- Completed 500 Internal Server Error in 441449ms
330
-  (0.1ms) rollback transaction
331
-  (0.1ms) begin transaction
332
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
333
- Parameters: {"error"=>"your face"}
334
- Completed 200 OK in 40ms (Views: 39.7ms | ActiveRecord: 0.0ms)
335
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
336
-  (0.1ms) rollback transaction