coalescing_panda 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -18220,3 +18220,1925 @@ TypeError: can't cast Array to string: INSERT INTO "coalescing_panda_users" ("ca
18220
18220
  CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18221
18221
  CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18222
18222
   (0.9ms) rollback transaction
18223
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18224
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18225
+  (0.1ms) begin transaction
18226
+  (0.1ms) rollback transaction
18227
+  (0.1ms) begin transaction
18228
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
18229
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
18230
+  (0.1ms) rollback transaction
18231
+  (0.0ms) begin transaction
18232
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
18233
+ Completed 500 Internal Server Error in 1ms
18234
+  (0.0ms) rollback transaction
18235
+  (0.0ms) begin transaction
18236
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
18237
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
18238
+ Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)
18239
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1
18240
+  (0.1ms) rollback transaction
18241
+  (0.0ms) begin transaction
18242
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
18243
+ Parameters: {"error"=>"your face"}
18244
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
18245
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
18246
+  (0.0ms) rollback transaction
18247
+  (0.0ms) begin transaction
18248
+  (0.1ms) rollback transaction
18249
+  (0.1ms) begin transaction
18250
+  (0.0ms) rollback transaction
18251
+  (0.0ms) begin transaction
18252
+ 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
18253
+  (0.1ms) SAVEPOINT active_record_1
18254
+ SQL (3.2ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["user_id", "a"]]
18255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18256
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
18257
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
18258
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
18259
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
18260
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
18261
+  (0.5ms) rollback transaction
18262
+  (0.0ms) begin transaction
18263
+ 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
18264
+ 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
18265
+  (0.1ms) rollback transaction
18266
+  (0.0ms) begin transaction
18267
+ 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
18268
+ 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
18269
+  (0.0ms) rollback transaction
18270
+  (0.0ms) begin transaction
18271
+  (0.0ms) SAVEPOINT active_record_1
18272
+ SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00]]
18273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18274
+  (0.0ms) SAVEPOINT active_record_1
18275
+ SQL (1.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00]]
18276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18277
+  (0.0ms) SAVEPOINT active_record_1
18278
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:21:51 UTC +00:00]]
18279
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18280
+ CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC
18281
+  (0.8ms) rollback transaction
18282
+  (0.0ms) begin transaction
18283
+  (0.0ms) rollback transaction
18284
+  (0.0ms) begin transaction
18285
+  (0.0ms) rollback transaction
18286
+  (0.0ms) begin transaction
18287
+  (0.0ms) rollback transaction
18288
+  (0.0ms) begin transaction
18289
+  (0.0ms) rollback transaction
18290
+  (0.0ms) begin transaction
18291
+  (0.0ms) rollback transaction
18292
+  (0.0ms) begin transaction
18293
+  (0.0ms) rollback transaction
18294
+  (0.0ms) begin transaction
18295
+  (0.0ms) rollback transaction
18296
+  (0.0ms) begin transaction
18297
+  (0.0ms) rollback transaction
18298
+  (0.0ms) begin transaction
18299
+  (0.0ms) rollback transaction
18300
+  (0.0ms) begin transaction
18301
+  (0.1ms) rollback transaction
18302
+  (0.0ms) begin transaction
18303
+  (0.0ms) rollback transaction
18304
+  (0.0ms) begin transaction
18305
+  (0.0ms) rollback transaction
18306
+  (0.0ms) begin transaction
18307
+  (0.0ms) rollback transaction
18308
+  (0.0ms) begin transaction
18309
+  (0.0ms) rollback transaction
18310
+  (0.0ms) begin transaction
18311
+  (0.0ms) rollback transaction
18312
+  (0.0ms) begin transaction
18313
+  (0.0ms) rollback transaction
18314
+  (0.0ms) begin transaction
18315
+  (0.0ms) rollback transaction
18316
+  (0.0ms) begin transaction
18317
+  (0.0ms) rollback transaction
18318
+  (0.0ms) begin transaction
18319
+  (0.0ms) rollback transaction
18320
+  (0.1ms) begin transaction
18321
+  (0.0ms) rollback transaction
18322
+  (0.0ms) begin transaction
18323
+  (0.0ms) rollback transaction
18324
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18325
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18326
+  (0.1ms) begin transaction
18327
+  (0.0ms) rollback transaction
18328
+  (0.0ms) begin transaction
18329
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
18330
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
18331
+  (0.1ms) rollback transaction
18332
+  (0.0ms) begin transaction
18333
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
18334
+ Completed 500 Internal Server Error in 1ms
18335
+  (0.0ms) rollback transaction
18336
+  (0.0ms) begin transaction
18337
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
18338
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
18339
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
18340
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1
18341
+  (0.0ms) rollback transaction
18342
+  (0.0ms) begin transaction
18343
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
18344
+ Parameters: {"error"=>"your face"}
18345
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
18346
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
18347
+  (0.0ms) rollback transaction
18348
+  (0.0ms) begin transaction
18349
+  (0.0ms) rollback transaction
18350
+  (0.0ms) begin transaction
18351
+  (0.0ms) rollback transaction
18352
+  (0.0ms) begin transaction
18353
+ 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
18354
+  (0.1ms) SAVEPOINT active_record_1
18355
+ SQL (3.2ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["user_id", "a"]]
18356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18357
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
18358
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
18359
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
18360
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
18361
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
18362
+  (0.5ms) rollback transaction
18363
+  (0.0ms) begin transaction
18364
+ 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
18365
+ CoalescingPanda::CanvasApiAuth Exists (0.0ms) 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
18366
+  (0.0ms) rollback transaction
18367
+  (0.1ms) begin transaction
18368
+ 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
18369
+ 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
18370
+  (0.0ms) rollback transaction
18371
+  (0.0ms) begin transaction
18372
+  (0.1ms) SAVEPOINT active_record_1
18373
+ SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00]]
18374
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18375
+  (0.0ms) SAVEPOINT active_record_1
18376
+ SQL (0.9ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00]]
18377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18378
+  (0.0ms) SAVEPOINT active_record_1
18379
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:09 UTC +00:00]]
18380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18381
+ CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC
18382
+  (0.6ms) rollback transaction
18383
+  (0.0ms) begin transaction
18384
+  (0.0ms) rollback transaction
18385
+  (0.0ms) begin transaction
18386
+  (0.0ms) rollback transaction
18387
+  (0.0ms) begin transaction
18388
+  (0.0ms) rollback transaction
18389
+  (0.0ms) begin transaction
18390
+  (0.1ms) rollback transaction
18391
+  (0.0ms) begin transaction
18392
+  (0.0ms) rollback transaction
18393
+  (0.0ms) begin transaction
18394
+  (0.0ms) rollback transaction
18395
+  (0.0ms) begin transaction
18396
+  (0.0ms) rollback transaction
18397
+  (0.0ms) begin transaction
18398
+  (0.0ms) rollback transaction
18399
+  (0.0ms) begin transaction
18400
+  (0.0ms) rollback transaction
18401
+  (0.0ms) begin transaction
18402
+  (0.1ms) rollback transaction
18403
+  (0.0ms) begin transaction
18404
+  (0.0ms) rollback transaction
18405
+  (0.0ms) begin transaction
18406
+  (0.0ms) rollback transaction
18407
+  (0.1ms) begin transaction
18408
+  (0.0ms) rollback transaction
18409
+  (0.0ms) begin transaction
18410
+  (0.0ms) rollback transaction
18411
+  (0.0ms) begin transaction
18412
+  (0.0ms) rollback transaction
18413
+  (0.0ms) begin transaction
18414
+  (0.0ms) rollback transaction
18415
+  (0.0ms) begin transaction
18416
+  (0.0ms) rollback transaction
18417
+  (0.0ms) begin transaction
18418
+  (0.0ms) rollback transaction
18419
+  (0.0ms) begin transaction
18420
+  (0.0ms) rollback transaction
18421
+  (0.0ms) begin transaction
18422
+  (0.0ms) rollback transaction
18423
+  (0.0ms) begin transaction
18424
+  (0.0ms) rollback transaction
18425
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18426
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18427
+  (0.1ms) begin transaction
18428
+  (0.0ms) rollback transaction
18429
+  (0.0ms) begin transaction
18430
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
18431
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
18432
+  (0.1ms) rollback transaction
18433
+  (0.0ms) begin transaction
18434
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
18435
+ Completed 500 Internal Server Error in 1ms
18436
+  (0.0ms) rollback transaction
18437
+  (0.0ms) begin transaction
18438
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
18439
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
18440
+ Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
18441
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1
18442
+  (0.1ms) rollback transaction
18443
+  (0.0ms) begin transaction
18444
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
18445
+ Parameters: {"error"=>"your face"}
18446
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
18447
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
18448
+  (0.0ms) rollback transaction
18449
+  (0.0ms) begin transaction
18450
+  (0.0ms) rollback transaction
18451
+  (0.1ms) begin transaction
18452
+  (0.0ms) rollback transaction
18453
+  (0.0ms) begin transaction
18454
+ 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
18455
+  (0.1ms) SAVEPOINT active_record_1
18456
+ SQL (3.0ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["user_id", "a"]]
18457
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18458
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
18459
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
18460
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
18461
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
18462
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
18463
+  (6.5ms) rollback transaction
18464
+  (0.1ms) begin transaction
18465
+ 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
18466
+ 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
18467
+  (0.1ms) rollback transaction
18468
+  (0.0ms) begin transaction
18469
+ 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
18470
+ 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
18471
+  (0.1ms) rollback transaction
18472
+  (0.0ms) begin transaction
18473
+  (0.0ms) SAVEPOINT active_record_1
18474
+ SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00]]
18475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18476
+  (0.0ms) SAVEPOINT active_record_1
18477
+ SQL (1.0ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00]]
18478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18479
+  (0.0ms) SAVEPOINT active_record_1
18480
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:23:25 UTC +00:00]]
18481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18482
+ CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC
18483
+  (0.7ms) rollback transaction
18484
+  (0.0ms) begin transaction
18485
+  (0.0ms) rollback transaction
18486
+  (0.0ms) begin transaction
18487
+  (0.0ms) rollback transaction
18488
+  (0.0ms) begin transaction
18489
+  (0.0ms) rollback transaction
18490
+  (0.0ms) begin transaction
18491
+  (0.0ms) rollback transaction
18492
+  (0.0ms) begin transaction
18493
+  (0.0ms) rollback transaction
18494
+  (0.0ms) begin transaction
18495
+  (0.0ms) rollback transaction
18496
+  (0.0ms) begin transaction
18497
+  (0.0ms) rollback transaction
18498
+  (0.0ms) begin transaction
18499
+  (0.0ms) rollback transaction
18500
+  (0.0ms) begin transaction
18501
+  (0.0ms) rollback transaction
18502
+  (0.0ms) begin transaction
18503
+  (0.0ms) rollback transaction
18504
+  (0.0ms) begin transaction
18505
+  (0.0ms) rollback transaction
18506
+  (0.0ms) begin transaction
18507
+  (0.0ms) rollback transaction
18508
+  (0.0ms) begin transaction
18509
+  (0.0ms) rollback transaction
18510
+  (0.0ms) begin transaction
18511
+  (0.0ms) rollback transaction
18512
+  (0.0ms) begin transaction
18513
+  (0.0ms) rollback transaction
18514
+  (0.0ms) begin transaction
18515
+  (0.0ms) rollback transaction
18516
+  (0.0ms) begin transaction
18517
+  (0.0ms) rollback transaction
18518
+  (0.0ms) begin transaction
18519
+  (0.0ms) rollback transaction
18520
+  (0.0ms) begin transaction
18521
+  (0.0ms) rollback transaction
18522
+  (0.0ms) begin transaction
18523
+  (0.0ms) rollback transaction
18524
+  (0.0ms) begin transaction
18525
+  (0.0ms) rollback transaction
18526
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18527
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18528
+  (0.1ms) begin transaction
18529
+  (0.0ms) SAVEPOINT active_record_1
18530
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1
18531
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1
18532
+ SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18534
+  (0.0ms) SAVEPOINT active_record_1
18535
+ SQL (1.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18537
+  (0.0ms) SAVEPOINT active_record_1
18538
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18540
+ CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1
18541
+  (9.4ms) rollback transaction
18542
+  (0.0ms) begin transaction
18543
+  (0.0ms) SAVEPOINT active_record_1
18544
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1
18545
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1
18546
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18547
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18548
+  (0.0ms) SAVEPOINT active_record_1
18549
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18551
+  (0.0ms) SAVEPOINT active_record_1
18552
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18554
+  (2.6ms) rollback transaction
18555
+  (0.0ms) begin transaction
18556
+  (0.0ms) SAVEPOINT active_record_1
18557
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1
18558
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1
18559
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18561
+  (0.0ms) SAVEPOINT active_record_1
18562
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18564
+  (0.0ms) SAVEPOINT active_record_1
18565
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18567
+  (0.1ms) SAVEPOINT active_record_1
18568
+ SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18570
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18571
+  (0.0ms) SAVEPOINT active_record_1
18572
+ SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18574
+  (0.0ms) SAVEPOINT active_record_1
18575
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18577
+ CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18578
+  (0.0ms) SAVEPOINT active_record_1
18579
+ SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18581
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18582
+  (0.0ms) SAVEPOINT active_record_1
18583
+ SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18585
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18586
+  (0.0ms) SAVEPOINT active_record_1
18587
+ SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18588
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18589
+  (0.0ms) SAVEPOINT active_record_1
18590
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18592
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18593
+ CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18594
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18595
+  (0.1ms) SAVEPOINT active_record_1
18596
+ SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]
18597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18598
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18599
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18600
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18601
+  (0.0ms) SAVEPOINT active_record_1
18602
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]
18603
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18604
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18605
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18606
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18607
+  (0.0ms) SAVEPOINT active_record_1
18608
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]
18609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18610
+  (0.0ms) SAVEPOINT active_record_1
18611
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18613
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18614
+  (0.1ms) SAVEPOINT active_record_1
18615
+ SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "<p>What is your name?</p>"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]
18616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18617
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18618
+  (0.0ms) SAVEPOINT active_record_1
18619
+ SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "<p>What is your Favorite Color?</p>"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]
18620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18621
+  (0.0ms) SAVEPOINT active_record_1
18622
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18624
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]
18625
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18626
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18627
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18628
+  (0.0ms) SAVEPOINT active_record_1
18629
+ SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["workflow_state", "graded"]]
18630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18631
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18632
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18633
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18634
+  (0.0ms) SAVEPOINT active_record_1
18635
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["workflow_state", "graded"]]
18636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18637
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18638
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18639
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18640
+  (0.0ms) SAVEPOINT active_record_1
18641
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["workflow_state", "graded"]]
18642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18643
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18644
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18645
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18646
+  (0.0ms) SAVEPOINT active_record_1
18647
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["workflow_state", "graded"]]
18648
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18649
+  (0.0ms) SAVEPOINT active_record_1
18650
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18652
+  (0.0ms) SAVEPOINT active_record_1
18653
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18655
+  (1.8ms) rollback transaction
18656
+  (0.1ms) begin transaction
18657
+  (0.1ms) SAVEPOINT active_record_1
18658
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1
18659
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1
18660
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18662
+  (0.0ms) SAVEPOINT active_record_1
18663
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18664
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18665
+  (0.1ms) SAVEPOINT active_record_1
18666
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18668
+  (4.2ms) rollback transaction
18669
+  (0.1ms) begin transaction
18670
+  (0.1ms) SAVEPOINT active_record_1
18671
+ CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1
18672
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1
18673
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18675
+  (0.0ms) SAVEPOINT active_record_1
18676
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18678
+  (0.0ms) SAVEPOINT active_record_1
18679
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18681
+  (0.6ms) rollback transaction
18682
+  (0.1ms) begin transaction
18683
+ CoalescingPanda::Section Load (0.2ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"
18684
+  (0.1ms) SAVEPOINT active_record_1
18685
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1
18686
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1
18687
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18689
+  (0.1ms) SAVEPOINT active_record_1
18690
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18692
+  (0.0ms) SAVEPOINT active_record_1
18693
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18695
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18696
+  (0.1ms) SAVEPOINT active_record_1
18697
+ SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18699
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"
18700
+  (3.5ms) rollback transaction
18701
+  (0.0ms) begin transaction
18702
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"
18703
+  (0.0ms) SAVEPOINT active_record_1
18704
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1
18705
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1
18706
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18708
+  (0.0ms) SAVEPOINT active_record_1
18709
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18711
+  (0.0ms) SAVEPOINT active_record_1
18712
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18714
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18715
+  (0.0ms) SAVEPOINT active_record_1
18716
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18718
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18719
+  (0.0ms) SAVEPOINT active_record_1
18720
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18722
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18723
+  (0.0ms) SAVEPOINT active_record_1
18724
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18726
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"
18727
+  (2.6ms) rollback transaction
18728
+  (0.0ms) begin transaction
18729
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"
18730
+  (0.0ms) SAVEPOINT active_record_1
18731
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1
18732
+ CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1
18733
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18735
+  (0.0ms) SAVEPOINT active_record_1
18736
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18738
+  (0.0ms) SAVEPOINT active_record_1
18739
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:23:47 UTC +00:00]]
18740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18741
+ CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18742
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18743
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18744
+  (0.0ms) SAVEPOINT active_record_1
18745
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]
18746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18747
+ CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18748
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18749
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18750
+  (0.0ms) SAVEPOINT active_record_1
18751
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]
18752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18753
+ CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18754
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18755
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18756
+  (0.0ms) SAVEPOINT active_record_1
18757
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]
18758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18759
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"
18760
+ CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1
18761
+  (0.4ms) rollback transaction
18762
+  (0.1ms) begin transaction
18763
+ CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"
18764
+  (0.0ms) SAVEPOINT active_record_1
18765
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1
18766
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1
18767
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18768
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18769
+  (0.0ms) SAVEPOINT active_record_1
18770
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18772
+  (0.0ms) SAVEPOINT active_record_1
18773
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18774
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18775
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18776
+  (0.0ms) SAVEPOINT active_record_1
18777
+ SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "<p>What is your name?</p>"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]
18778
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18779
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18780
+  (0.0ms) SAVEPOINT active_record_1
18781
+ SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "<p>What is your Favorite Color?</p>"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]
18782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18783
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"
18784
+  (6.9ms) rollback transaction
18785
+  (0.1ms) begin transaction
18786
+ CoalescingPanda::Submission Load (0.3ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"
18787
+  (0.1ms) SAVEPOINT active_record_1
18788
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1
18789
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1
18790
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18792
+  (0.0ms) SAVEPOINT active_record_1
18793
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18795
+  (0.0ms) SAVEPOINT active_record_1
18796
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18798
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18799
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18800
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18801
+  (0.0ms) SAVEPOINT active_record_1
18802
+ SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["workflow_state", "graded"]]
18803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18804
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18805
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18806
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18807
+  (0.0ms) SAVEPOINT active_record_1
18808
+ SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["workflow_state", "graded"]]
18809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18810
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18811
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18812
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18813
+  (0.0ms) SAVEPOINT active_record_1
18814
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["workflow_state", "graded"]]
18815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18816
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18817
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
18818
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
18819
+  (0.0ms) SAVEPOINT active_record_1
18820
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["workflow_state", "graded"]]
18821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18822
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"
18823
+  (0.9ms) rollback transaction
18824
+  (0.0ms) begin transaction
18825
+  (0.0ms) SAVEPOINT active_record_1
18826
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1
18827
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1
18828
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18830
+  (0.0ms) SAVEPOINT active_record_1
18831
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18833
+  (0.0ms) SAVEPOINT active_record_1
18834
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18836
+  (0.7ms) rollback transaction
18837
+  (0.1ms) begin transaction
18838
+  (0.1ms) SAVEPOINT active_record_1
18839
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1
18840
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1
18841
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18842
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18843
+  (0.0ms) SAVEPOINT active_record_1
18844
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18846
+  (0.0ms) SAVEPOINT active_record_1
18847
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18849
+  (0.6ms) rollback transaction
18850
+  (0.0ms) begin transaction
18851
+  (0.0ms) SAVEPOINT active_record_1
18852
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1
18853
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1
18854
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18856
+  (0.0ms) SAVEPOINT active_record_1
18857
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18859
+  (0.0ms) SAVEPOINT active_record_1
18860
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18862
+  (0.6ms) rollback transaction
18863
+  (0.0ms) begin transaction
18864
+  (0.0ms) SAVEPOINT active_record_1
18865
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1
18866
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1
18867
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18869
+  (0.0ms) SAVEPOINT active_record_1
18870
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18872
+  (0.0ms) SAVEPOINT active_record_1
18873
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18875
+  (0.8ms) rollback transaction
18876
+  (0.0ms) begin transaction
18877
+  (0.1ms) SAVEPOINT active_record_1
18878
+ CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1
18879
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1
18880
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18882
+  (0.0ms) SAVEPOINT active_record_1
18883
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18885
+  (0.0ms) SAVEPOINT active_record_1
18886
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18888
+  (0.7ms) rollback transaction
18889
+  (0.0ms) begin transaction
18890
+  (0.0ms) SAVEPOINT active_record_1
18891
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1
18892
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1
18893
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18895
+  (0.0ms) SAVEPOINT active_record_1
18896
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18898
+  (0.0ms) SAVEPOINT active_record_1
18899
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18901
+  (0.7ms) rollback transaction
18902
+  (0.0ms) begin transaction
18903
+  (0.0ms) SAVEPOINT active_record_1
18904
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1
18905
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1
18906
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18907
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18908
+  (0.0ms) SAVEPOINT active_record_1
18909
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18911
+  (0.0ms) SAVEPOINT active_record_1
18912
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18914
+  (0.6ms) rollback transaction
18915
+  (0.1ms) begin transaction
18916
+  (0.1ms) SAVEPOINT active_record_1
18917
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1
18918
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1
18919
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18921
+  (0.0ms) SAVEPOINT active_record_1
18922
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18923
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18924
+  (0.0ms) SAVEPOINT active_record_1
18925
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18927
+  (0.7ms) rollback transaction
18928
+  (0.1ms) begin transaction
18929
+  (0.0ms) SAVEPOINT active_record_1
18930
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1
18931
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1
18932
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18933
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18934
+  (0.0ms) SAVEPOINT active_record_1
18935
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18936
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18937
+  (0.0ms) SAVEPOINT active_record_1
18938
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18940
+  (0.7ms) rollback transaction
18941
+  (0.0ms) begin transaction
18942
+  (0.0ms) SAVEPOINT active_record_1
18943
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1
18944
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1
18945
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18947
+  (0.0ms) SAVEPOINT active_record_1
18948
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18950
+  (0.0ms) SAVEPOINT active_record_1
18951
+ SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18953
+  (0.0ms) SAVEPOINT active_record_1
18954
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1
18955
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1
18956
+ SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18958
+  (0.0ms) SAVEPOINT active_record_1
18959
+ SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18961
+  (0.0ms) SAVEPOINT active_record_1
18962
+ CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]]
18963
+ SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18964
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18965
+  (0.1ms) SAVEPOINT active_record_1
18966
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18968
+  (0.1ms) SAVEPOINT active_record_1
18969
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18971
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]]
18972
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]
18973
+  (0.8ms) rollback transaction
18974
+  (0.0ms) begin transaction
18975
+  (0.0ms) SAVEPOINT active_record_1
18976
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1
18977
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1
18978
+ SQL (0.7ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18980
+  (0.0ms) SAVEPOINT active_record_1
18981
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18983
+  (0.0ms) SAVEPOINT active_record_1
18984
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18986
+  (0.6ms) rollback transaction
18987
+  (0.0ms) begin transaction
18988
+  (0.0ms) SAVEPOINT active_record_1
18989
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1
18990
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1
18991
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18993
+  (0.0ms) SAVEPOINT active_record_1
18994
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18996
+  (0.0ms) SAVEPOINT active_record_1
18997
+ SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
18998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18999
+  (0.0ms) SAVEPOINT active_record_1
19000
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
19001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19002
+  (0.0ms) SAVEPOINT active_record_1
19003
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:21 UTC +00:00]]
19004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19005
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19006
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19007
+  (0.9ms) rollback transaction
19008
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19009
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19010
+  (0.1ms) begin transaction
19011
+  (0.0ms) rollback transaction
19012
+  (0.0ms) begin transaction
19013
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
19014
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
19015
+  (0.1ms) rollback transaction
19016
+  (0.1ms) begin transaction
19017
+ Processing by CoalescingPanda::LtiController#lti_config as HTML
19018
+ Completed 500 Internal Server Error in 1ms
19019
+  (0.0ms) rollback transaction
19020
+  (0.0ms) begin transaction
19021
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
19022
+ Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"}
19023
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
19024
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = 1 AND "coalescing_panda_canvas_api_auths"."api_domain" = 'foo.com' LIMIT 1
19025
+  (0.1ms) rollback transaction
19026
+  (0.1ms) begin transaction
19027
+ Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
19028
+ Parameters: {"error"=>"your face"}
19029
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
19030
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
19031
+  (0.0ms) rollback transaction
19032
+  (0.0ms) begin transaction
19033
+  (0.1ms) rollback transaction
19034
+  (0.0ms) begin transaction
19035
+  (0.0ms) rollback transaction
19036
+  (0.0ms) begin transaction
19037
+ 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
19038
+  (0.1ms) SAVEPOINT active_record_1
19039
+ SQL (2.6ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["user_id", "a"]]
19040
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19041
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
19042
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1
19043
+ CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
19044
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
19045
+ CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1
19046
+  (6.4ms) rollback transaction
19047
+  (0.1ms) begin transaction
19048
+ 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
19049
+ 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
19050
+  (0.1ms) rollback transaction
19051
+  (0.0ms) begin transaction
19052
+ 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
19053
+ 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
19054
+  (0.1ms) rollback transaction
19055
+  (0.1ms) begin transaction
19056
+  (0.0ms) SAVEPOINT active_record_1
19057
+ SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19059
+  (0.0ms) SAVEPOINT active_record_1
19060
+ SQL (1.0ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19062
+  (0.0ms) SAVEPOINT active_record_1
19063
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Pending"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19065
+ CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC
19066
+  (0.7ms) rollback transaction
19067
+  (0.1ms) begin transaction
19068
+  (0.1ms) rollback transaction
19069
+  (0.0ms) begin transaction
19070
+  (0.0ms) rollback transaction
19071
+  (0.0ms) begin transaction
19072
+  (0.0ms) rollback transaction
19073
+  (0.1ms) begin transaction
19074
+  (0.0ms) rollback transaction
19075
+  (0.0ms) begin transaction
19076
+  (0.1ms) rollback transaction
19077
+  (0.0ms) begin transaction
19078
+  (0.0ms) rollback transaction
19079
+  (0.0ms) begin transaction
19080
+  (0.0ms) rollback transaction
19081
+  (0.1ms) begin transaction
19082
+  (0.0ms) rollback transaction
19083
+  (0.0ms) begin transaction
19084
+  (0.0ms) rollback transaction
19085
+  (0.0ms) begin transaction
19086
+  (0.0ms) rollback transaction
19087
+  (0.0ms) begin transaction
19088
+  (0.0ms) rollback transaction
19089
+  (0.1ms) begin transaction
19090
+  (0.0ms) rollback transaction
19091
+  (0.0ms) begin transaction
19092
+  (0.0ms) rollback transaction
19093
+  (0.0ms) begin transaction
19094
+  (0.0ms) rollback transaction
19095
+  (0.0ms) begin transaction
19096
+  (0.0ms) rollback transaction
19097
+  (0.0ms) begin transaction
19098
+  (0.0ms) rollback transaction
19099
+  (0.0ms) begin transaction
19100
+  (0.0ms) rollback transaction
19101
+  (0.0ms) begin transaction
19102
+  (0.0ms) rollback transaction
19103
+  (0.0ms) begin transaction
19104
+  (0.0ms) rollback transaction
19105
+  (0.0ms) begin transaction
19106
+  (0.0ms) rollback transaction
19107
+  (0.0ms) begin transaction
19108
+  (0.0ms) rollback transaction
19109
+  (0.0ms) begin transaction
19110
+  (0.0ms) SAVEPOINT active_record_1
19111
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1
19112
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1
19113
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19114
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19115
+  (0.0ms) SAVEPOINT active_record_1
19116
+ SQL (0.7ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19117
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19118
+  (0.1ms) SAVEPOINT active_record_1
19119
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19120
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19121
+ CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1
19122
+  (0.9ms) rollback transaction
19123
+  (0.1ms) begin transaction
19124
+  (0.1ms) SAVEPOINT active_record_1
19125
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1
19126
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1
19127
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19128
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19129
+  (0.0ms) SAVEPOINT active_record_1
19130
+ SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19132
+  (0.1ms) SAVEPOINT active_record_1
19133
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19135
+  (0.8ms) rollback transaction
19136
+  (0.0ms) begin transaction
19137
+  (0.0ms) SAVEPOINT active_record_1
19138
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1
19139
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1
19140
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19142
+  (0.0ms) SAVEPOINT active_record_1
19143
+ SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19145
+  (0.1ms) SAVEPOINT active_record_1
19146
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19148
+  (0.1ms) SAVEPOINT active_record_1
19149
+ SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19151
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19152
+  (0.1ms) SAVEPOINT active_record_1
19153
+ SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19155
+  (0.0ms) SAVEPOINT active_record_1
19156
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19157
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19158
+ CoalescingPanda::User Load (0.2ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19159
+  (0.0ms) SAVEPOINT active_record_1
19160
+ SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19162
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19163
+  (0.0ms) SAVEPOINT active_record_1
19164
+ SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19166
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19167
+  (0.0ms) SAVEPOINT active_record_1
19168
+ SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19170
+  (0.0ms) SAVEPOINT active_record_1
19171
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19173
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19174
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19175
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19176
+  (0.0ms) SAVEPOINT active_record_1
19177
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]
19178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19179
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19180
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19181
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19182
+  (0.0ms) SAVEPOINT active_record_1
19183
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]
19184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19185
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19186
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19187
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19188
+  (0.0ms) SAVEPOINT active_record_1
19189
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]
19190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19191
+  (0.0ms) SAVEPOINT active_record_1
19192
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19194
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19195
+  (0.0ms) SAVEPOINT active_record_1
19196
+ SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "<p>What is your name?</p>"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]
19197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19198
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19199
+  (0.0ms) SAVEPOINT active_record_1
19200
+ SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "<p>What is your Favorite Color?</p>"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]
19201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19202
+  (0.0ms) SAVEPOINT active_record_1
19203
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19205
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]
19206
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19207
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19208
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19209
+  (0.0ms) SAVEPOINT active_record_1
19210
+ SQL (0.3ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]
19211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19212
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19213
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19214
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19215
+  (0.0ms) SAVEPOINT active_record_1
19216
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]
19217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19218
+ CoalescingPanda::Submission Load (0.2ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19219
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19220
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19221
+  (0.0ms) SAVEPOINT active_record_1
19222
+ SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]
19223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19224
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19225
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19226
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19227
+  (0.0ms) SAVEPOINT active_record_1
19228
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]
19229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19230
+  (0.0ms) SAVEPOINT active_record_1
19231
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19233
+  (0.0ms) SAVEPOINT active_record_1
19234
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19236
+  (1.1ms) rollback transaction
19237
+  (0.0ms) begin transaction
19238
+  (0.0ms) SAVEPOINT active_record_1
19239
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1
19240
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1
19241
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19242
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19243
+  (0.0ms) SAVEPOINT active_record_1
19244
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19245
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19246
+  (0.0ms) SAVEPOINT active_record_1
19247
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19249
+  (0.9ms) rollback transaction
19250
+  (0.0ms) begin transaction
19251
+  (0.1ms) SAVEPOINT active_record_1
19252
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1
19253
+ CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1
19254
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19256
+  (0.0ms) SAVEPOINT active_record_1
19257
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19259
+  (0.0ms) SAVEPOINT active_record_1
19260
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19262
+  (0.7ms) rollback transaction
19263
+  (0.0ms) begin transaction
19264
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"
19265
+  (0.0ms) SAVEPOINT active_record_1
19266
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1
19267
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1
19268
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19269
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19270
+  (0.0ms) SAVEPOINT active_record_1
19271
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19273
+  (0.0ms) SAVEPOINT active_record_1
19274
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19276
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19277
+  (0.1ms) SAVEPOINT active_record_1
19278
+ SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19280
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"
19281
+  (0.9ms) rollback transaction
19282
+  (0.1ms) begin transaction
19283
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"
19284
+  (0.0ms) SAVEPOINT active_record_1
19285
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1
19286
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1
19287
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19289
+  (0.0ms) SAVEPOINT active_record_1
19290
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19292
+  (0.0ms) SAVEPOINT active_record_1
19293
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19295
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19296
+  (0.0ms) SAVEPOINT active_record_1
19297
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19299
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19300
+  (0.0ms) SAVEPOINT active_record_1
19301
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19303
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19304
+  (0.0ms) SAVEPOINT active_record_1
19305
+ SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19307
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"
19308
+  (0.8ms) rollback transaction
19309
+  (0.0ms) begin transaction
19310
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"
19311
+  (0.0ms) SAVEPOINT active_record_1
19312
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1
19313
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1
19314
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19316
+  (0.0ms) SAVEPOINT active_record_1
19317
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19319
+  (0.0ms) SAVEPOINT active_record_1
19320
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19322
+ CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19323
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19324
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19325
+  (0.0ms) SAVEPOINT active_record_1
19326
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00]]
19327
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19328
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19329
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19330
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19331
+  (0.1ms) SAVEPOINT active_record_1
19332
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]
19333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19334
+ CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19335
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19336
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19337
+  (0.0ms) SAVEPOINT active_record_1
19338
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]
19339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19340
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"
19341
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1
19342
+  (0.9ms) rollback transaction
19343
+  (0.0ms) begin transaction
19344
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"
19345
+  (0.0ms) SAVEPOINT active_record_1
19346
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1
19347
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1
19348
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19350
+  (0.0ms) SAVEPOINT active_record_1
19351
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19353
+  (0.0ms) SAVEPOINT active_record_1
19354
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19356
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19357
+  (0.0ms) SAVEPOINT active_record_1
19358
+ SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "<p>What is your name?</p>"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]
19359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19360
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19361
+  (0.0ms) SAVEPOINT active_record_1
19362
+ SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "<p>What is your Favorite Color?</p>"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]
19363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19364
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"
19365
+  (0.8ms) rollback transaction
19366
+  (0.1ms) begin transaction
19367
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"
19368
+  (0.0ms) SAVEPOINT active_record_1
19369
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1
19370
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1
19371
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19373
+  (0.0ms) SAVEPOINT active_record_1
19374
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19376
+  (0.0ms) SAVEPOINT active_record_1
19377
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19379
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19380
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19381
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19382
+  (0.0ms) SAVEPOINT active_record_1
19383
+ SQL (0.4ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]
19384
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19385
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19386
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19387
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19388
+  (0.1ms) SAVEPOINT active_record_1
19389
+ SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]
19390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19391
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19392
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19393
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19394
+  (0.0ms) SAVEPOINT active_record_1
19395
+ SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]
19396
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19397
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19398
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19399
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19400
+  (0.0ms) SAVEPOINT active_record_1
19401
+ SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["workflow_state", "graded"]]
19402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19403
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"
19404
+  (0.9ms) rollback transaction
19405
+  (0.1ms) begin transaction
19406
+  (0.0ms) SAVEPOINT active_record_1
19407
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1
19408
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1
19409
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19411
+  (0.0ms) SAVEPOINT active_record_1
19412
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19414
+  (0.0ms) SAVEPOINT active_record_1
19415
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19417
+  (0.6ms) rollback transaction
19418
+  (0.0ms) begin transaction
19419
+  (0.0ms) SAVEPOINT active_record_1
19420
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1
19421
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1
19422
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19424
+  (0.0ms) SAVEPOINT active_record_1
19425
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19427
+  (0.0ms) SAVEPOINT active_record_1
19428
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19430
+  (0.6ms) rollback transaction
19431
+  (0.0ms) begin transaction
19432
+  (0.0ms) SAVEPOINT active_record_1
19433
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1
19434
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1
19435
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19437
+  (0.0ms) SAVEPOINT active_record_1
19438
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19439
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19440
+  (0.0ms) SAVEPOINT active_record_1
19441
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19442
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19443
+  (0.5ms) rollback transaction
19444
+  (0.0ms) begin transaction
19445
+  (0.0ms) SAVEPOINT active_record_1
19446
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1
19447
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1
19448
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19450
+  (0.0ms) SAVEPOINT active_record_1
19451
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19453
+  (0.0ms) SAVEPOINT active_record_1
19454
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19456
+  (0.7ms) rollback transaction
19457
+  (0.0ms) begin transaction
19458
+  (0.0ms) SAVEPOINT active_record_1
19459
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1
19460
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1
19461
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19463
+  (0.0ms) SAVEPOINT active_record_1
19464
+ SQL (0.5ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19465
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19466
+  (0.0ms) SAVEPOINT active_record_1
19467
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19469
+  (0.8ms) rollback transaction
19470
+  (0.0ms) begin transaction
19471
+  (0.0ms) SAVEPOINT active_record_1
19472
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1
19473
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1
19474
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19476
+  (0.0ms) SAVEPOINT active_record_1
19477
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19479
+  (0.1ms) SAVEPOINT active_record_1
19480
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19482
+  (0.8ms) rollback transaction
19483
+  (0.0ms) begin transaction
19484
+  (0.0ms) SAVEPOINT active_record_1
19485
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1
19486
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1
19487
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19489
+  (0.0ms) SAVEPOINT active_record_1
19490
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19492
+  (0.1ms) SAVEPOINT active_record_1
19493
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19494
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19495
+  (0.6ms) rollback transaction
19496
+  (0.0ms) begin transaction
19497
+  (0.0ms) SAVEPOINT active_record_1
19498
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1
19499
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1
19500
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19502
+  (0.0ms) SAVEPOINT active_record_1
19503
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19505
+  (0.0ms) SAVEPOINT active_record_1
19506
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19508
+  (0.6ms) rollback transaction
19509
+  (0.0ms) begin transaction
19510
+  (0.1ms) SAVEPOINT active_record_1
19511
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1
19512
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1
19513
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19515
+  (0.0ms) SAVEPOINT active_record_1
19516
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19518
+  (0.0ms) SAVEPOINT active_record_1
19519
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19521
+  (0.7ms) rollback transaction
19522
+  (0.1ms) begin transaction
19523
+  (0.1ms) SAVEPOINT active_record_1
19524
+ CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1
19525
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1
19526
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19528
+  (0.0ms) SAVEPOINT active_record_1
19529
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19530
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19531
+  (0.1ms) SAVEPOINT active_record_1
19532
+ SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19534
+  (0.0ms) SAVEPOINT active_record_1
19535
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1
19536
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1
19537
+ SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19539
+  (0.0ms) SAVEPOINT active_record_1
19540
+ SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19542
+  (0.0ms) SAVEPOINT active_record_1
19543
+ CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]]
19544
+ SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19546
+  (0.0ms) SAVEPOINT active_record_1
19547
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19549
+  (0.0ms) SAVEPOINT active_record_1
19550
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19552
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]]
19553
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]
19554
+  (0.9ms) rollback transaction
19555
+  (0.0ms) begin transaction
19556
+  (0.0ms) SAVEPOINT active_record_1
19557
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1
19558
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1
19559
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19560
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19561
+  (0.0ms) SAVEPOINT active_record_1
19562
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19564
+  (0.0ms) SAVEPOINT active_record_1
19565
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19567
+  (0.8ms) rollback transaction
19568
+  (0.0ms) begin transaction
19569
+  (0.0ms) SAVEPOINT active_record_1
19570
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1
19571
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1
19572
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19574
+  (0.0ms) SAVEPOINT active_record_1
19575
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19577
+  (0.0ms) SAVEPOINT active_record_1
19578
+ SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19580
+  (0.0ms) SAVEPOINT active_record_1
19581
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19583
+  (0.0ms) SAVEPOINT active_record_1
19584
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:24:42 UTC +00:00]]
19585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19586
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19587
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19588
+  (0.7ms) rollback transaction
19589
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19590
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19591
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19592
+  (0.1ms) begin transaction
19593
+ CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"
19594
+  (0.1ms) SAVEPOINT active_record_1
19595
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1
19596
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1
19597
+ SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00]]
19598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19599
+  (0.1ms) SAVEPOINT active_record_1
19600
+ SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00]]
19601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19602
+  (0.1ms) SAVEPOINT active_record_1
19603
+ SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:25:16 UTC +00:00]]
19604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19605
+ CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19606
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19607
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19608
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19609
+  (0.1ms) SAVEPOINT active_record_1
19610
+ SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]
19611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19612
+ CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19613
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19614
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19615
+  (0.1ms) SAVEPOINT active_record_1
19616
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00]]
19617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19618
+ CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19619
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19620
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19621
+  (0.0ms) SAVEPOINT active_record_1
19622
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00]]
19623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19624
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"
19625
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1
19626
+  (6.7ms) rollback transaction
19627
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19628
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19629
+  (0.1ms) begin transaction
19630
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"
19631
+  (0.0ms) SAVEPOINT active_record_1
19632
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1
19633
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1
19634
+ SQL (2.5ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00]]
19635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19636
+  (0.1ms) SAVEPOINT active_record_1
19637
+ SQL (1.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00]]
19638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19639
+  (0.1ms) SAVEPOINT active_record_1
19640
+ SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:08 UTC +00:00]]
19641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19642
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19643
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19644
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19645
+  (0.0ms) SAVEPOINT active_record_1
19646
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]
19647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19648
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19649
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19650
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19651
+  (0.0ms) SAVEPOINT active_record_1
19652
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]
19653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19654
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19655
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19656
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19657
+  (0.0ms) SAVEPOINT active_record_1
19658
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]
19659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19660
+  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"
19661
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1
19662
+  (6.9ms) rollback transaction
19663
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19664
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19665
+  (0.1ms) begin transaction
19666
+  (0.0ms) SAVEPOINT active_record_1
19667
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1
19668
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1
19669
+ SQL (2.6ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:13 UTC +00:00], ["key", "Key 1"], ["name", "Account 1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 1"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:13 UTC +00:00]]
19670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19671
+  (0.0ms) SAVEPOINT active_record_1
19672
+ SQL (1.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:13 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:13 UTC +00:00]]
19673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19674
+  (0.0ms) SAVEPOINT active_record_1
19675
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19677
+ CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1
19678
+  (6.7ms) rollback transaction
19679
+  (0.1ms) begin transaction
19680
+  (0.1ms) SAVEPOINT active_record_1
19681
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1
19682
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1
19683
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 2"], ["name", "Account 2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 2"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19685
+  (0.0ms) SAVEPOINT active_record_1
19686
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19688
+  (0.0ms) SAVEPOINT active_record_1
19689
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19691
+  (0.7ms) rollback transaction
19692
+  (0.1ms) begin transaction
19693
+  (0.0ms) SAVEPOINT active_record_1
19694
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1
19695
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1
19696
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 3"], ["name", "Account 3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 3"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19698
+  (0.0ms) SAVEPOINT active_record_1
19699
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19701
+  (0.0ms) SAVEPOINT active_record_1
19702
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19704
+  (0.1ms) SAVEPOINT active_record_1
19705
+ SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19706
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19707
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19708
+  (0.1ms) SAVEPOINT active_record_1
19709
+ SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19711
+  (0.0ms) SAVEPOINT active_record_1
19712
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19714
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19715
+  (0.1ms) SAVEPOINT active_record_1
19716
+ SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19718
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19719
+  (0.0ms) SAVEPOINT active_record_1
19720
+ SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19722
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19723
+  (0.0ms) SAVEPOINT active_record_1
19724
+ SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19726
+  (0.0ms) SAVEPOINT active_record_1
19727
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19729
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19730
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19731
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19732
+  (0.0ms) SAVEPOINT active_record_1
19733
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 1], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]
19734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19735
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19736
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19737
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19738
+  (0.0ms) SAVEPOINT active_record_1
19739
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 2], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]
19740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19741
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19742
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19743
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19744
+  (0.0ms) SAVEPOINT active_record_1
19745
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_enrollment_id", 3], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]
19746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19747
+  (0.0ms) SAVEPOINT active_record_1
19748
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19750
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19751
+  (0.0ms) SAVEPOINT active_record_1
19752
+ SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "<p>What is your name?</p>"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]
19753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19754
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19755
+  (0.0ms) SAVEPOINT active_record_1
19756
+ SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "<p>What is your Favorite Color?</p>"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]
19757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19758
+  (0.0ms) SAVEPOINT active_record_1
19759
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19761
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]
19762
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19763
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19764
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19765
+  (0.1ms) SAVEPOINT active_record_1
19766
+ SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]
19767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19768
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19769
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19770
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19771
+  (0.0ms) SAVEPOINT active_record_1
19772
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]
19773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19774
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19775
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19776
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19777
+  (0.0ms) SAVEPOINT active_record_1
19778
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]
19779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19780
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19781
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19782
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19783
+  (0.0ms) SAVEPOINT active_record_1
19784
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]
19785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19786
+  (0.0ms) SAVEPOINT active_record_1
19787
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19788
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19789
+  (0.0ms) SAVEPOINT active_record_1
19790
+ SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19791
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19792
+  (1.2ms) rollback transaction
19793
+  (0.1ms) begin transaction
19794
+  (0.0ms) SAVEPOINT active_record_1
19795
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1
19796
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1
19797
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 4"], ["name", "Account 4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 4"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19799
+  (0.0ms) SAVEPOINT active_record_1
19800
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19802
+  (0.1ms) SAVEPOINT active_record_1
19803
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19805
+  (0.7ms) rollback transaction
19806
+  (0.1ms) begin transaction
19807
+  (0.1ms) SAVEPOINT active_record_1
19808
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1
19809
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1
19810
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 5"], ["name", "Account 5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 5"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19812
+  (0.0ms) SAVEPOINT active_record_1
19813
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19815
+  (0.0ms) SAVEPOINT active_record_1
19816
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19818
+  (0.7ms) rollback transaction
19819
+  (0.0ms) begin transaction
19820
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"
19821
+  (0.0ms) SAVEPOINT active_record_1
19822
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1
19823
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1
19824
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 6"], ["name", "Account 6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 6"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19826
+  (0.1ms) SAVEPOINT active_record_1
19827
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19829
+  (0.0ms) SAVEPOINT active_record_1
19830
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19832
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19833
+  (0.0ms) SAVEPOINT active_record_1
19834
+ SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Course1"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19836
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"
19837
+  (0.6ms) rollback transaction
19838
+  (0.0ms) begin transaction
19839
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"
19840
+  (0.0ms) SAVEPOINT active_record_1
19841
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1
19842
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1
19843
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 7"], ["name", "Account 7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 7"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19845
+  (0.0ms) SAVEPOINT active_record_1
19846
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19848
+  (0.0ms) SAVEPOINT active_record_1
19849
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19850
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19851
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '1') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19852
+  (0.0ms) SAVEPOINT active_record_1
19853
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19855
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '2') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19856
+  (0.0ms) SAVEPOINT active_record_1
19857
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19859
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_user_id = '3') ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19860
+  (0.0ms) SAVEPOINT active_record_1
19861
+ SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19863
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"
19864
+  (0.8ms) rollback transaction
19865
+  (0.0ms) begin transaction
19866
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"
19867
+  (0.0ms) SAVEPOINT active_record_1
19868
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1
19869
+ CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1
19870
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 8"], ["name", "Account 8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 8"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19872
+  (0.0ms) SAVEPOINT active_record_1
19873
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19875
+  (0.0ms) SAVEPOINT active_record_1
19876
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19878
+ CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19879
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19880
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19881
+  (0.1ms) SAVEPOINT active_record_1
19882
+ SQL (0.3ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 1], ["created_at", Fri, 07 Nov 2014 21:17:54 UTC +00:00], ["updated_at", Tue, 11 Nov 2014 22:11:19 UTC +00:00], ["workflow_state", "active"]]
19883
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19884
+ CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19885
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19886
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19887
+  (0.0ms) SAVEPOINT active_record_1
19888
+ SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 2], ["created_at", Fri, 07 Nov 2014 21:18:16 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:17 UTC +00:00], ["workflow_state", "active"]]
19889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19890
+ CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19891
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19892
+ CoalescingPanda::Section Load (0.0ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19893
+  (0.0ms) SAVEPOINT active_record_1
19894
+ SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?) [["canvas_enrollment_id", 3], ["created_at", Fri, 07 Nov 2014 21:18:17 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 23:18:21 UTC +00:00], ["workflow_state", "active"]]
19895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19896
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"
19897
+ CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1
19898
+  (0.8ms) rollback transaction
19899
+  (0.0ms) begin transaction
19900
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"
19901
+  (0.0ms) SAVEPOINT active_record_1
19902
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1
19903
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1
19904
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 9"], ["name", "Account 9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 9"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19906
+  (0.0ms) SAVEPOINT active_record_1
19907
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19909
+  (0.0ms) SAVEPOINT active_record_1
19910
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19912
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19913
+  (0.0ms) SAVEPOINT active_record_1
19914
+ SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "<p>What is your name?</p>"], ["name", "Gimme your name"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]]
19915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19916
+ CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19917
+  (0.0ms) SAVEPOINT active_record_1
19918
+ SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "name", "points_possible", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "<p>What is your Favorite Color?</p>"], ["name", "Favorite Color"], ["points_possible", 100.0], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]]
19919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19920
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"
19921
+  (0.8ms) rollback transaction
19922
+  (0.0ms) begin transaction
19923
+ CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"
19924
+  (0.0ms) SAVEPOINT active_record_1
19925
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1
19926
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1
19927
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 10"], ["name", "Account 10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 10"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19928
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19929
+  (0.0ms) SAVEPOINT active_record_1
19930
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19932
+  (0.0ms) SAVEPOINT active_record_1
19933
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19935
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19936
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19937
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19938
+  (0.1ms) SAVEPOINT active_record_1
19939
+ SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 3], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]
19940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19941
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19942
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19943
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19944
+  (0.0ms) SAVEPOINT active_record_1
19945
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]
19946
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19947
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19948
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19949
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19950
+  (0.0ms) SAVEPOINT active_record_1
19951
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 4], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]
19952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19953
+ CoalescingPanda::Submission Load (0.0ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19954
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
19955
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
19956
+  (0.0ms) SAVEPOINT active_record_1
19957
+ SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_submission_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["workflow_state", "graded"]]
19958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19959
+  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"
19960
+  (0.8ms) rollback transaction
19961
+  (0.0ms) begin transaction
19962
+  (0.0ms) SAVEPOINT active_record_1
19963
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1
19964
+ CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1
19965
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 11"], ["name", "Account 11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 11"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19967
+  (0.0ms) SAVEPOINT active_record_1
19968
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19970
+  (0.0ms) SAVEPOINT active_record_1
19971
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19972
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19973
+  (0.8ms) rollback transaction
19974
+  (0.1ms) begin transaction
19975
+  (0.0ms) SAVEPOINT active_record_1
19976
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1
19977
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1
19978
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 12"], ["name", "Account 12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 12"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
19980
+  (0.0ms) SAVEPOINT active_record_1
19981
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19982
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19983
+  (0.0ms) SAVEPOINT active_record_1
19984
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19986
+  (0.6ms) rollback transaction
19987
+  (0.0ms) begin transaction
19988
+  (0.1ms) SAVEPOINT active_record_1
19989
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1
19990
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1
19991
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 13"], ["name", "Account 13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 13"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19993
+  (0.0ms) SAVEPOINT active_record_1
19994
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19996
+  (0.0ms) SAVEPOINT active_record_1
19997
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
19998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
19999
+  (0.7ms) rollback transaction
20000
+  (0.0ms) begin transaction
20001
+  (0.0ms) SAVEPOINT active_record_1
20002
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1
20003
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1
20004
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 14"], ["name", "Account 14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 14"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20006
+  (0.0ms) SAVEPOINT active_record_1
20007
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20009
+  (0.0ms) SAVEPOINT active_record_1
20010
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20011
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20012
+  (0.7ms) rollback transaction
20013
+  (0.0ms) begin transaction
20014
+  (0.0ms) SAVEPOINT active_record_1
20015
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1
20016
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1
20017
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 15"], ["name", "Account 15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 15"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20019
+  (0.0ms) SAVEPOINT active_record_1
20020
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20022
+  (0.0ms) SAVEPOINT active_record_1
20023
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20025
+  (0.9ms) rollback transaction
20026
+  (0.0ms) begin transaction
20027
+  (0.0ms) SAVEPOINT active_record_1
20028
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1
20029
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1
20030
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 16"], ["name", "Account 16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 16"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20031
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20032
+  (0.0ms) SAVEPOINT active_record_1
20033
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20035
+  (0.0ms) SAVEPOINT active_record_1
20036
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20038
+  (0.7ms) rollback transaction
20039
+  (0.1ms) begin transaction
20040
+  (0.0ms) SAVEPOINT active_record_1
20041
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1
20042
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1
20043
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 17"], ["name", "Account 17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 17"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20045
+  (0.0ms) SAVEPOINT active_record_1
20046
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20048
+  (0.0ms) SAVEPOINT active_record_1
20049
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20051
+  (0.7ms) rollback transaction
20052
+  (0.0ms) begin transaction
20053
+  (0.0ms) SAVEPOINT active_record_1
20054
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1
20055
+ CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1
20056
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 18"], ["name", "Account 18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 18"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20058
+  (0.0ms) SAVEPOINT active_record_1
20059
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20061
+  (0.0ms) SAVEPOINT active_record_1
20062
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20064
+  (0.8ms) rollback transaction
20065
+  (0.0ms) begin transaction
20066
+  (0.0ms) SAVEPOINT active_record_1
20067
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1
20068
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1
20069
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 19"], ["name", "Account 19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 19"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20070
+  (0.1ms) RELEASE SAVEPOINT active_record_1
20071
+  (0.0ms) SAVEPOINT active_record_1
20072
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20074
+  (0.0ms) SAVEPOINT active_record_1
20075
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20077
+  (0.7ms) rollback transaction
20078
+  (0.1ms) begin transaction
20079
+  (0.0ms) SAVEPOINT active_record_1
20080
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1
20081
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1
20082
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 20"], ["name", "Account 20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 20"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20084
+  (0.0ms) SAVEPOINT active_record_1
20085
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20086
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20087
+  (0.0ms) SAVEPOINT active_record_1
20088
+ SQL (0.3ms) INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_section_id", "123"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20090
+  (0.0ms) SAVEPOINT active_record_1
20091
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1
20092
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1
20093
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 21"], ["name", "Account 21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 21"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20095
+  (0.0ms) SAVEPOINT active_record_1
20096
+ SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20098
+  (0.0ms) SAVEPOINT active_record_1
20099
+ CoalescingPanda::Course Load (0.1ms) SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]]
20100
+ SQL (0.1ms) UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20101
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20102
+  (0.0ms) SAVEPOINT active_record_1
20103
+ SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20105
+  (0.0ms) SAVEPOINT active_record_1
20106
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20108
+ CoalescingPanda::User Load (0.0ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 2]]
20109
+ CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '123' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 2]]
20110
+  (0.9ms) rollback transaction
20111
+  (0.1ms) begin transaction
20112
+  (0.0ms) SAVEPOINT active_record_1
20113
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1
20114
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1
20115
+ SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 22"], ["name", "Account 22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 22"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20116
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20117
+  (0.0ms) SAVEPOINT active_record_1
20118
+ SQL (0.3ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20119
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20120
+  (0.0ms) SAVEPOINT active_record_1
20121
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20123
+  (0.7ms) rollback transaction
20124
+  (0.0ms) begin transaction
20125
+  (0.0ms) SAVEPOINT active_record_1
20126
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1
20127
+ CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1
20128
+ SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["key", "Key 23"], ["name", "Account 23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 23"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
20130
+  (0.0ms) SAVEPOINT active_record_1
20131
+ SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "Test Course"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20133
+  (0.0ms) SAVEPOINT active_record_1
20134
+ SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["name", "test assignment"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20136
+  (0.0ms) SAVEPOINT active_record_1
20137
+ SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["status", "Queued"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20139
+  (0.0ms) SAVEPOINT active_record_1
20140
+ SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Mon, 24 Nov 2014 23:27:14 UTC +00:00]]
20141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
20142
+ CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
20143
+ CoalescingPanda::Assignment Load (0.0ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]]
20144
+  (0.8ms) rollback transaction