coalescing_panda 1.2.2 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -51376,1837 +51376,3 @@ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
51376
51376
  Processing by CoalescingPanda::LtiController#lti_config as HTML
51377
51377
  Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
51378
51378
   (0.1ms) rollback transaction
51379
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
51380
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51381
-  (0.1ms) begin transaction
51382
- Processing by CoalescingPanda::LtiController#lti_config as HTML
51383
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
51384
-  (0.1ms) rollback transaction
51385
-  (0.1ms) begin transaction
51386
- Processing by CoalescingPanda::LtiController#lti_config as HTML
51387
- Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)
51388
-  (0.1ms) rollback transaction
51389
-  (0.0ms) begin transaction
51390
-  (0.1ms) SAVEPOINT active_record_1
51391
- CoalescingPanda::LtiAccount Exists (0.5ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1
51392
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1
51393
- SQL (0.8ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 1"], ["key", "Key 1"], ["secret", "Account 1"], ["canvas_account_id", "1"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: foo.com\n"], ["created_at", "2016-05-13 16:13:29.667088"], ["updated_at", "2016-05-13 16:13:29.667088"]]
51394
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51395
-  (0.1ms) SAVEPOINT active_record_1
51396
- SQL (1.8ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test1@test.com"], ["name", "Factory User 1"], ["canvas_user_id", "1"], ["created_at", "2016-05-13 16:13:29.701320"], ["updated_at", "2016-05-13 16:13:29.701320"]]
51397
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51398
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
51399
- Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar", "key"=>"Key 1", "state"=>"test"}
51400
- CoalescingPanda::LtiAccount Load (0.2ms) SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = ? LIMIT 1 [["key", "Key 1"]]
51401
- Creating Bearcat client for auth token retrieval pointed to: http://foo.com
51402
- CoalescingPanda::CanvasApiAuth Load (0.4ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE (user_id = '1' and api_domain = 'foo.com') ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1
51403
-  (0.1ms) SAVEPOINT active_record_1
51404
- CoalescingPanda::CanvasApiAuth Exists (0.1ms) SELECT 1 AS one 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
51405
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("api_token", "user_id", "api_domain", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["api_token", "foobar"], ["user_id", "1"], ["api_domain", "foo.com"], ["created_at", "2016-05-13 16:13:29.754742"], ["updated_at", "2016-05-13 16:13:29.754742"]]
51406
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51407
- Rendered /Users/byoung/rails/coalescing_panda/app/views/coalescing_panda/oauth2/redirect.html.haml within layouts/coalescing_panda/application (0.3ms)
51408
- Completed 200 OK in 75ms (Views: 25.5ms | ActiveRecord: 1.0ms)
51409
- CoalescingPanda::CanvasApiAuth Load (0.2ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" WHERE "coalescing_panda_canvas_api_auths"."user_id" = ? AND "coalescing_panda_canvas_api_auths"."api_domain" = ? LIMIT 1 [["user_id", "1"], ["api_domain", "foo.com"]]
51410
-  (1.0ms) rollback transaction
51411
-  (0.0ms) begin transaction
51412
- Processing by CoalescingPanda::Oauth2Controller#redirect as HTML
51413
- Parameters: {"error"=>"your face"}
51414
- Rendered /Users/byoung/rails/coalescing_panda/app/views/coalescing_panda/oauth2/redirect.html.haml within layouts/coalescing_panda/application (0.2ms)
51415
- Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
51416
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"
51417
-  (0.1ms) rollback transaction
51418
-  (0.0ms) begin transaction
51419
-  (0.1ms) rollback transaction
51420
-  (0.1ms) begin transaction
51421
-  (0.0ms) rollback transaction
51422
-  (0.0ms) begin transaction
51423
-  (0.0ms) SAVEPOINT active_record_1
51424
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1
51425
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1
51426
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 2"], ["key", "Key 2"], ["secret", "Account 2"], ["canvas_account_id", "2"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.863134"], ["updated_at", "2016-05-13 16:13:29.863134"]]
51427
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51428
-  (0.1ms) SAVEPOINT active_record_1
51429
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1
51430
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1
51431
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 3"], ["key", "Key 3"], ["secret", "Account 3"], ["canvas_account_id", "3"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.875337"], ["updated_at", "2016-05-13 16:13:29.875337"]]
51432
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51433
-  (0.0ms) SAVEPOINT active_record_1
51434
- SQL (1.0ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "1"], ["created_at", "2016-05-13 16:13:29.878498"], ["updated_at", "2016-05-13 16:13:29.878498"]]
51435
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51436
-  (0.0ms) SAVEPOINT active_record_1
51437
- SQL (0.4ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2016-05-13 16:13:29.881908"], ["updated_at", "2016-05-13 16:13:29.881908"]]
51438
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51439
-  (0.7ms) rollback transaction
51440
-  (0.1ms) begin transaction
51441
-  (0.1ms) SAVEPOINT active_record_1
51442
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1
51443
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1
51444
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 4"], ["key", "Key 4"], ["secret", "Account 4"], ["canvas_account_id", "4"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.912064"], ["updated_at", "2016-05-13 16:13:29.912064"]]
51445
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51446
-  (0.0ms) SAVEPOINT active_record_1
51447
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1
51448
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1
51449
- SQL (0.9ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 5"], ["key", "Key 5"], ["secret", "Account 5"], ["canvas_account_id", "5"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.917051"], ["updated_at", "2016-05-13 16:13:29.917051"]]
51450
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51451
-  (0.0ms) SAVEPOINT active_record_1
51452
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "2"], ["created_at", "2016-05-13 16:13:29.920623"], ["updated_at", "2016-05-13 16:13:29.920623"]]
51453
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51454
-  (0.0ms) SAVEPOINT active_record_1
51455
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "2"], ["created_at", "2016-05-13 16:13:29.922773"], ["updated_at", "2016-05-13 16:13:29.922773"]]
51456
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51457
-  (0.8ms) rollback transaction
51458
-  (0.1ms) begin transaction
51459
-  (0.0ms) SAVEPOINT active_record_1
51460
- CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1
51461
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1
51462
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 6"], ["key", "Key 6"], ["secret", "Account 6"], ["canvas_account_id", "6"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.930201"], ["updated_at", "2016-05-13 16:13:29.930201"]]
51463
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51464
-  (0.0ms) SAVEPOINT active_record_1
51465
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1
51466
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1
51467
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 7"], ["key", "Key 7"], ["secret", "Account 7"], ["canvas_account_id", "7"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.934716"], ["updated_at", "2016-05-13 16:13:29.934716"]]
51468
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51469
-  (0.0ms) SAVEPOINT active_record_1
51470
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "3"], ["created_at", "2016-05-13 16:13:29.936955"], ["updated_at", "2016-05-13 16:13:29.936955"]]
51471
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51472
-  (0.0ms) SAVEPOINT active_record_1
51473
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "3"], ["created_at", "2016-05-13 16:13:29.938379"], ["updated_at", "2016-05-13 16:13:29.938379"]]
51474
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51475
-  (0.7ms) rollback transaction
51476
-  (0.0ms) begin transaction
51477
-  (0.0ms) rollback transaction
51478
-  (0.0ms) begin transaction
51479
-  (0.0ms) rollback transaction
51480
-  (0.0ms) begin transaction
51481
-  (0.1ms) SAVEPOINT active_record_1
51482
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1
51483
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1
51484
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 8"], ["key", "Key 8"], ["secret", "Account 8"], ["canvas_account_id", "8"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.958288"], ["updated_at", "2016-05-13 16:13:29.958288"]]
51485
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51486
-  (0.0ms) SAVEPOINT active_record_1
51487
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1
51488
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1
51489
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 9"], ["key", "Key 9"], ["secret", "Account 9"], ["canvas_account_id", "9"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.962914"], ["updated_at", "2016-05-13 16:13:29.962914"]]
51490
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51491
-  (0.0ms) SAVEPOINT active_record_1
51492
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "4"], ["created_at", "2016-05-13 16:13:29.965058"], ["updated_at", "2016-05-13 16:13:29.965058"]]
51493
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51494
-  (0.0ms) SAVEPOINT active_record_1
51495
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "4"], ["created_at", "2016-05-13 16:13:29.966362"], ["updated_at", "2016-05-13 16:13:29.966362"]]
51496
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51497
-  (0.8ms) rollback transaction
51498
-  (0.0ms) begin transaction
51499
-  (0.1ms) SAVEPOINT active_record_1
51500
- CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1
51501
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1
51502
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 10"], ["key", "Key 10"], ["secret", "Account 10"], ["canvas_account_id", "10"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.974187"], ["updated_at", "2016-05-13 16:13:29.974187"]]
51503
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51504
-  (0.0ms) SAVEPOINT active_record_1
51505
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1
51506
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1
51507
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 11"], ["key", "Key 11"], ["secret", "Account 11"], ["canvas_account_id", "11"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.978342"], ["updated_at", "2016-05-13 16:13:29.978342"]]
51508
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51509
-  (0.0ms) SAVEPOINT active_record_1
51510
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "5"], ["created_at", "2016-05-13 16:13:29.980524"], ["updated_at", "2016-05-13 16:13:29.980524"]]
51511
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51512
-  (0.0ms) SAVEPOINT active_record_1
51513
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "5"], ["created_at", "2016-05-13 16:13:29.981836"], ["updated_at", "2016-05-13 16:13:29.981836"]]
51514
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51515
-  (0.7ms) rollback transaction
51516
-  (0.1ms) begin transaction
51517
-  (0.0ms) SAVEPOINT active_record_1
51518
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1
51519
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1
51520
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 12"], ["key", "Key 12"], ["secret", "Account 12"], ["canvas_account_id", "12"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.987616"], ["updated_at", "2016-05-13 16:13:29.987616"]]
51521
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51522
-  (0.0ms) SAVEPOINT active_record_1
51523
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1
51524
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1
51525
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 13"], ["key", "Key 13"], ["secret", "Account 13"], ["canvas_account_id", "13"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:29.991077"], ["updated_at", "2016-05-13 16:13:29.991077"]]
51526
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51527
-  (0.0ms) SAVEPOINT active_record_1
51528
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "6"], ["created_at", "2016-05-13 16:13:29.993256"], ["updated_at", "2016-05-13 16:13:29.993256"]]
51529
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51530
-  (0.0ms) SAVEPOINT active_record_1
51531
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "6"], ["created_at", "2016-05-13 16:13:29.994608"], ["updated_at", "2016-05-13 16:13:29.994608"]]
51532
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51533
-  (0.0ms) SAVEPOINT active_record_1
51534
- SQL (0.5ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["created_at", "2016-05-13 16:13:29.996381"], ["updated_at", "2016-05-13 16:13:29.996381"]]
51535
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51536
-  (0.1ms) SAVEPOINT active_record_1
51537
- SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["created_at", "2016-05-13 16:13:30.003670"], ["updated_at", "2016-05-13 16:13:30.003670"]]
51538
- SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_assignments.coalescing_panda_course_id, coalescing_panda_assignments.canvas_assignment_id: INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)
51539
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
51540
-  (0.8ms) rollback transaction
51541
-  (0.0ms) begin transaction
51542
-  (0.0ms) SAVEPOINT active_record_1
51543
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1
51544
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1
51545
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 14"], ["key", "Key 14"], ["secret", "Account 14"], ["canvas_account_id", "14"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.009932"], ["updated_at", "2016-05-13 16:13:30.009932"]]
51546
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51547
-  (0.0ms) SAVEPOINT active_record_1
51548
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1
51549
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1
51550
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 15"], ["key", "Key 15"], ["secret", "Account 15"], ["canvas_account_id", "15"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.013905"], ["updated_at", "2016-05-13 16:13:30.013905"]]
51551
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51552
-  (0.0ms) SAVEPOINT active_record_1
51553
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "7"], ["created_at", "2016-05-13 16:13:30.016134"], ["updated_at", "2016-05-13 16:13:30.016134"]]
51554
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51555
-  (0.0ms) SAVEPOINT active_record_1
51556
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "7"], ["created_at", "2016-05-13 16:13:30.017655"], ["updated_at", "2016-05-13 16:13:30.017655"]]
51557
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51558
-  (0.7ms) rollback transaction
51559
-  (0.0ms) begin transaction
51560
- 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
51561
-  (0.0ms) SAVEPOINT active_record_1
51562
- SQL (0.2ms) INSERT INTO "coalescing_panda_canvas_api_auths" ("user_id", "created_at", "updated_at") VALUES (?, ?, ?) [["user_id", "a"], ["created_at", "2016-05-13 16:13:30.023705"], ["updated_at", "2016-05-13 16:13:30.023705"]]
51563
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51564
- 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
51565
- CoalescingPanda::CanvasApiAuth Load (0.1ms) SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths"
51566
- CoalescingPanda::CanvasApiAuth Exists (0.0ms) 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
51567
-  (0.4ms) rollback transaction
51568
-  (0.0ms) begin transaction
51569
- 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
51570
-  (0.1ms) rollback transaction
51571
-  (0.0ms) begin transaction
51572
- 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
51573
-  (0.1ms) rollback transaction
51574
-  (0.1ms) begin transaction
51575
-  (0.1ms) SAVEPOINT active_record_1
51576
- SQL (0.6ms) INSERT INTO "coalescing_panda_canvas_batches" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", "Pending"], ["created_at", "2016-05-13 16:13:30.096959"], ["updated_at", "2016-05-13 16:13:30.096959"]]
51577
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51578
-  (0.0ms) SAVEPOINT active_record_1
51579
- SQL (0.3ms) INSERT INTO "coalescing_panda_canvas_batches" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", "Pending"], ["created_at", "2016-05-13 16:13:30.099311"], ["updated_at", "2016-05-13 16:13:30.099311"]]
51580
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51581
-  (0.0ms) SAVEPOINT active_record_1
51582
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", "Pending"], ["created_at", "2016-05-13 16:13:30.100973"], ["updated_at", "2016-05-13 16:13:30.100973"]]
51583
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51584
- CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC
51585
-  (0.7ms) rollback transaction
51586
-  (0.0ms) begin transaction
51587
-  (0.0ms) rollback transaction
51588
-  (0.0ms) begin transaction
51589
-  (0.0ms) rollback transaction
51590
-  (0.1ms) begin transaction
51591
-  (0.0ms) rollback transaction
51592
-  (0.0ms) begin transaction
51593
-  (0.0ms) rollback transaction
51594
-  (0.0ms) begin transaction
51595
-  (0.0ms) rollback transaction
51596
-  (0.0ms) begin transaction
51597
-  (0.0ms) rollback transaction
51598
-  (0.0ms) begin transaction
51599
-  (0.0ms) rollback transaction
51600
-  (0.0ms) begin transaction
51601
-  (0.0ms) rollback transaction
51602
-  (0.1ms) begin transaction
51603
-  (0.0ms) rollback transaction
51604
-  (0.0ms) begin transaction
51605
-  (0.0ms) SAVEPOINT active_record_1
51606
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1
51607
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1
51608
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 16"], ["key", "Key 16"], ["secret", "Account 16"], ["canvas_account_id", "16"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.115204"], ["updated_at", "2016-05-13 16:13:30.115204"]]
51609
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51610
-  (0.0ms) SAVEPOINT active_record_1
51611
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1
51612
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1
51613
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 17"], ["key", "Key 17"], ["secret", "Account 17"], ["canvas_account_id", "17"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.118555"], ["updated_at", "2016-05-13 16:13:30.118555"]]
51614
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51615
-  (0.0ms) SAVEPOINT active_record_1
51616
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "8"], ["created_at", "2016-05-13 16:13:30.120354"], ["updated_at", "2016-05-13 16:13:30.120354"]]
51617
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51618
-  (0.6ms) rollback transaction
51619
-  (0.0ms) begin transaction
51620
-  (0.0ms) SAVEPOINT active_record_1
51621
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1
51622
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1
51623
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 18"], ["key", "Key 18"], ["secret", "Account 18"], ["canvas_account_id", "18"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.126130"], ["updated_at", "2016-05-13 16:13:30.126130"]]
51624
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51625
-  (0.0ms) SAVEPOINT active_record_1
51626
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1
51627
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1
51628
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 19"], ["key", "Key 19"], ["secret", "Account 19"], ["canvas_account_id", "19"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.129849"], ["updated_at", "2016-05-13 16:13:30.129849"]]
51629
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51630
-  (0.0ms) SAVEPOINT active_record_1
51631
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "9"], ["created_at", "2016-05-13 16:13:30.131713"], ["updated_at", "2016-05-13 16:13:30.131713"]]
51632
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51633
-  (0.6ms) rollback transaction
51634
-  (0.1ms) begin transaction
51635
-  (0.1ms) SAVEPOINT active_record_1
51636
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1
51637
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1
51638
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 20"], ["key", "Key 20"], ["secret", "Account 20"], ["canvas_account_id", "20"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.136186"], ["updated_at", "2016-05-13 16:13:30.136186"]]
51639
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51640
-  (0.1ms) SAVEPOINT active_record_1
51641
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1
51642
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1
51643
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 21"], ["key", "Key 21"], ["secret", "Account 21"], ["canvas_account_id", "21"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.140573"], ["updated_at", "2016-05-13 16:13:30.140573"]]
51644
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51645
-  (0.0ms) SAVEPOINT active_record_1
51646
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "10"], ["created_at", "2016-05-13 16:13:30.143057"], ["updated_at", "2016-05-13 16:13:30.143057"]]
51647
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51648
-  (0.0ms) SAVEPOINT active_record_1
51649
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2016-05-13 16:13:30.144327"], ["updated_at", "2016-05-13 16:13:30.144327"]]
51650
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51651
-  (0.0ms) SAVEPOINT active_record_1
51652
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1
51653
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1
51654
- SQL (0.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 22"], ["key", "Key 22"], ["secret", "Account 22"], ["canvas_account_id", "22"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.147534"], ["updated_at", "2016-05-13 16:13:30.147534"]]
51655
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51656
-  (0.0ms) SAVEPOINT active_record_1
51657
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "11"], ["created_at", "2016-05-13 16:13:30.149142"], ["updated_at", "2016-05-13 16:13:30.149142"]]
51658
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51659
-  (0.0ms) SAVEPOINT active_record_1
51660
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 2], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2016-05-13 16:13:30.150259"], ["updated_at", "2016-05-13 16:13:30.150259"]]
51661
- SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_lti_account_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)
51662
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
51663
-  (0.7ms) rollback transaction
51664
-  (0.0ms) begin transaction
51665
-  (0.0ms) SAVEPOINT active_record_1
51666
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1
51667
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1
51668
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 23"], ["key", "Key 23"], ["secret", "Account 23"], ["canvas_account_id", "23"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.154434"], ["updated_at", "2016-05-13 16:13:30.154434"]]
51669
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51670
-  (0.0ms) SAVEPOINT active_record_1
51671
- SQL (0.3ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_term_id", "12"], ["created_at", "2016-05-13 16:13:30.156110"], ["updated_at", "2016-05-13 16:13:30.156110"]]
51672
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51673
-  (0.0ms) SAVEPOINT active_record_1
51674
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1
51675
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1
51676
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 24"], ["key", "Key 24"], ["secret", "Account 24"], ["canvas_account_id", "24"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.159078"], ["updated_at", "2016-05-13 16:13:30.159078"]]
51677
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51678
-  (0.0ms) SAVEPOINT active_record_1
51679
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2016-05-13 16:13:30.160989"], ["updated_at", "2016-05-13 16:13:30.160989"]]
51680
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51681
-  (0.1ms) SAVEPOINT active_record_1
51682
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1
51683
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1
51684
- SQL (0.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 25"], ["key", "Key 25"], ["secret", "Account 25"], ["canvas_account_id", "25"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.163880"], ["updated_at", "2016-05-13 16:13:30.163880"]]
51685
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51686
-  (0.0ms) SAVEPOINT active_record_1
51687
- SQL (0.2ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "1"], ["created_at", "2016-05-13 16:13:30.165731"], ["updated_at", "2016-05-13 16:13:30.165731"]]
51688
- SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_courses.coalescing_panda_term_id, coalescing_panda_courses.canvas_course_id: INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)
51689
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
51690
-  (0.7ms) rollback transaction
51691
-  (0.0ms) begin transaction
51692
-  (0.0ms) SAVEPOINT active_record_1
51693
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1
51694
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1
51695
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 26"], ["key", "Key 26"], ["secret", "Account 26"], ["canvas_account_id", "26"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.170641"], ["updated_at", "2016-05-13 16:13:30.170641"]]
51696
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51697
-  (0.0ms) SAVEPOINT active_record_1
51698
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1
51699
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1
51700
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 27"], ["key", "Key 27"], ["secret", "Account 27"], ["canvas_account_id", "27"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.173804"], ["updated_at", "2016-05-13 16:13:30.173804"]]
51701
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51702
-  (0.0ms) SAVEPOINT active_record_1
51703
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "13"], ["created_at", "2016-05-13 16:13:30.175905"], ["updated_at", "2016-05-13 16:13:30.175905"]]
51704
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51705
-  (0.7ms) rollback transaction
51706
-  (0.0ms) begin transaction
51707
-  (0.0ms) rollback transaction
51708
-  (0.0ms) begin transaction
51709
-  (0.0ms) rollback transaction
51710
-  (0.0ms) begin transaction
51711
-  (0.0ms) SAVEPOINT active_record_1
51712
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1
51713
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1
51714
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 28"], ["key", "Key 28"], ["secret", "Account 28"], ["canvas_account_id", "28"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.188666"], ["updated_at", "2016-05-13 16:13:30.188666"]]
51715
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51716
-  (0.0ms) SAVEPOINT active_record_1
51717
- SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test2@test.com"], ["name", "Factory User 2"], ["canvas_user_id", "2"], ["created_at", "2016-05-13 16:13:30.191742"], ["updated_at", "2016-05-13 16:13:30.191742"]]
51718
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51719
-  (0.0ms) SAVEPOINT active_record_1
51720
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1
51721
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1
51722
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 29"], ["key", "Key 29"], ["secret", "Account 29"], ["canvas_account_id", "29"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.201304"], ["updated_at", "2016-05-13 16:13:30.201304"]]
51723
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51724
-  (0.0ms) SAVEPOINT active_record_1
51725
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1
51726
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1
51727
- SQL (0.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 30"], ["key", "Key 30"], ["secret", "Account 30"], ["canvas_account_id", "30"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.204455"], ["updated_at", "2016-05-13 16:13:30.204455"]]
51728
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51729
-  (0.0ms) SAVEPOINT active_record_1
51730
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "14"], ["created_at", "2016-05-13 16:13:30.206117"], ["updated_at", "2016-05-13 16:13:30.206117"]]
51731
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51732
-  (0.1ms) SAVEPOINT active_record_1
51733
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "10"], ["created_at", "2016-05-13 16:13:30.207820"], ["updated_at", "2016-05-13 16:13:30.207820"]]
51734
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51735
-  (0.0ms) SAVEPOINT active_record_1
51736
- SQL (0.4ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["created_at", "2016-05-13 16:13:30.209922"], ["updated_at", "2016-05-13 16:13:30.209922"]]
51737
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51738
-  (0.9ms) rollback transaction
51739
-  (0.1ms) begin transaction
51740
-  (0.1ms) SAVEPOINT active_record_1
51741
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1
51742
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1
51743
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 31"], ["key", "Key 31"], ["secret", "Account 31"], ["canvas_account_id", "31"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.218013"], ["updated_at", "2016-05-13 16:13:30.218013"]]
51744
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51745
-  (0.0ms) SAVEPOINT active_record_1
51746
- SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test3@test.com"], ["name", "Factory User 3"], ["canvas_user_id", "3"], ["created_at", "2016-05-13 16:13:30.220405"], ["updated_at", "2016-05-13 16:13:30.220405"]]
51747
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51748
-  (0.0ms) SAVEPOINT active_record_1
51749
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1
51750
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1
51751
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 32"], ["key", "Key 32"], ["secret", "Account 32"], ["canvas_account_id", "32"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.223465"], ["updated_at", "2016-05-13 16:13:30.223465"]]
51752
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51753
-  (0.0ms) SAVEPOINT active_record_1
51754
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1
51755
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1
51756
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 33"], ["key", "Key 33"], ["secret", "Account 33"], ["canvas_account_id", "33"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.226884"], ["updated_at", "2016-05-13 16:13:30.226884"]]
51757
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51758
-  (0.0ms) SAVEPOINT active_record_1
51759
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "15"], ["created_at", "2016-05-13 16:13:30.228600"], ["updated_at", "2016-05-13 16:13:30.228600"]]
51760
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51761
-  (0.0ms) SAVEPOINT active_record_1
51762
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "11"], ["created_at", "2016-05-13 16:13:30.229893"], ["updated_at", "2016-05-13 16:13:30.229893"]]
51763
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51764
-  (0.0ms) SAVEPOINT active_record_1
51765
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "2"], ["created_at", "2016-05-13 16:13:30.231193"], ["updated_at", "2016-05-13 16:13:30.231193"]]
51766
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51767
-  (0.9ms) rollback transaction
51768
-  (0.1ms) begin transaction
51769
-  (0.1ms) SAVEPOINT active_record_1
51770
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1
51771
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1
51772
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 34"], ["key", "Key 34"], ["secret", "Account 34"], ["canvas_account_id", "34"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.238558"], ["updated_at", "2016-05-13 16:13:30.238558"]]
51773
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51774
-  (0.0ms) SAVEPOINT active_record_1
51775
- SQL (0.5ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test4@test.com"], ["name", "Factory User 4"], ["canvas_user_id", "4"], ["created_at", "2016-05-13 16:13:30.242242"], ["updated_at", "2016-05-13 16:13:30.242242"]]
51776
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51777
-  (0.0ms) SAVEPOINT active_record_1
51778
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1
51779
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1
51780
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 35"], ["key", "Key 35"], ["secret", "Account 35"], ["canvas_account_id", "35"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.246713"], ["updated_at", "2016-05-13 16:13:30.246713"]]
51781
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51782
-  (0.0ms) SAVEPOINT active_record_1
51783
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1
51784
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1
51785
- SQL (0.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 36"], ["key", "Key 36"], ["secret", "Account 36"], ["canvas_account_id", "36"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.250389"], ["updated_at", "2016-05-13 16:13:30.250389"]]
51786
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51787
-  (0.0ms) SAVEPOINT active_record_1
51788
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "16"], ["created_at", "2016-05-13 16:13:30.252339"], ["updated_at", "2016-05-13 16:13:30.252339"]]
51789
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51790
-  (0.0ms) SAVEPOINT active_record_1
51791
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "12"], ["created_at", "2016-05-13 16:13:30.253607"], ["updated_at", "2016-05-13 16:13:30.253607"]]
51792
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51793
-  (0.0ms) SAVEPOINT active_record_1
51794
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "3"], ["created_at", "2016-05-13 16:13:30.254823"], ["updated_at", "2016-05-13 16:13:30.254823"]]
51795
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51796
-  (0.7ms) rollback transaction
51797
-  (0.1ms) begin transaction
51798
-  (0.0ms) SAVEPOINT active_record_1
51799
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1
51800
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1
51801
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 37"], ["key", "Key 37"], ["secret", "Account 37"], ["canvas_account_id", "37"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.259974"], ["updated_at", "2016-05-13 16:13:30.259974"]]
51802
-  (0.1ms) RELEASE SAVEPOINT active_record_1
51803
-  (0.0ms) SAVEPOINT active_record_1
51804
- SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test5@test.com"], ["name", "Factory User 5"], ["canvas_user_id", "5"], ["created_at", "2016-05-13 16:13:30.262588"], ["updated_at", "2016-05-13 16:13:30.262588"]]
51805
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51806
-  (0.0ms) SAVEPOINT active_record_1
51807
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1
51808
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1
51809
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 38"], ["key", "Key 38"], ["secret", "Account 38"], ["canvas_account_id", "38"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.266207"], ["updated_at", "2016-05-13 16:13:30.266207"]]
51810
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51811
-  (0.0ms) SAVEPOINT active_record_1
51812
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1
51813
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1
51814
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 39"], ["key", "Key 39"], ["secret", "Account 39"], ["canvas_account_id", "39"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.269673"], ["updated_at", "2016-05-13 16:13:30.269673"]]
51815
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51816
-  (0.1ms) SAVEPOINT active_record_1
51817
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "17"], ["created_at", "2016-05-13 16:13:30.271534"], ["updated_at", "2016-05-13 16:13:30.271534"]]
51818
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51819
-  (0.0ms) SAVEPOINT active_record_1
51820
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "13"], ["created_at", "2016-05-13 16:13:30.272809"], ["updated_at", "2016-05-13 16:13:30.272809"]]
51821
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51822
-  (0.0ms) SAVEPOINT active_record_1
51823
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "4"], ["created_at", "2016-05-13 16:13:30.274040"], ["updated_at", "2016-05-13 16:13:30.274040"]]
51824
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51825
-  (0.0ms) SAVEPOINT active_record_1
51826
- SQL (0.6ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"], ["enrollment_type", "StudentEnrollment"], ["created_at", "2016-05-13 16:13:30.275800"], ["updated_at", "2016-05-13 16:13:30.275800"]]
51827
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51828
-  (0.0ms) SAVEPOINT active_record_1
51829
- SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "4"], ["enrollment_type", "StudentEnrollment"], ["created_at", "2016-05-13 16:13:30.278554"], ["updated_at", "2016-05-13 16:13:30.278554"]]
51830
- SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_enrollments.coalescing_panda_user_id, coalescing_panda_enrollments.coalescing_panda_section_id, coalescing_panda_enrollments.enrollment_type: INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)
51831
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
51832
-  (0.8ms) rollback transaction
51833
-  (0.0ms) begin transaction
51834
-  (0.0ms) SAVEPOINT active_record_1
51835
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1
51836
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1
51837
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 40"], ["key", "Key 40"], ["secret", "Account 40"], ["canvas_account_id", "40"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.284093"], ["updated_at", "2016-05-13 16:13:30.284093"]]
51838
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51839
-  (0.0ms) SAVEPOINT active_record_1
51840
- SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test6@test.com"], ["name", "Factory User 6"], ["canvas_user_id", "6"], ["created_at", "2016-05-13 16:13:30.286319"], ["updated_at", "2016-05-13 16:13:30.286319"]]
51841
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51842
-  (0.0ms) SAVEPOINT active_record_1
51843
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1
51844
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1
51845
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 41"], ["key", "Key 41"], ["secret", "Account 41"], ["canvas_account_id", "41"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.289321"], ["updated_at", "2016-05-13 16:13:30.289321"]]
51846
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51847
-  (0.0ms) SAVEPOINT active_record_1
51848
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1
51849
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1
51850
- SQL (0.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 42"], ["key", "Key 42"], ["secret", "Account 42"], ["canvas_account_id", "42"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.293270"], ["updated_at", "2016-05-13 16:13:30.293270"]]
51851
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51852
-  (0.0ms) SAVEPOINT active_record_1
51853
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "18"], ["created_at", "2016-05-13 16:13:30.294883"], ["updated_at", "2016-05-13 16:13:30.294883"]]
51854
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51855
-  (0.0ms) SAVEPOINT active_record_1
51856
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "14"], ["created_at", "2016-05-13 16:13:30.296089"], ["updated_at", "2016-05-13 16:13:30.296089"]]
51857
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51858
-  (0.0ms) SAVEPOINT active_record_1
51859
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "5"], ["created_at", "2016-05-13 16:13:30.297270"], ["updated_at", "2016-05-13 16:13:30.297270"]]
51860
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51861
-  (0.0ms) SAVEPOINT active_record_1
51862
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "5"], ["enrollment_type", "StudentEnrollment"], ["created_at", "2016-05-13 16:13:30.298901"], ["updated_at", "2016-05-13 16:13:30.298901"]]
51863
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51864
-  (0.0ms) SAVEPOINT active_record_1
51865
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "canvas_enrollment_id", "enrollment_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "6"], ["enrollment_type", "TeacherEnrollment"], ["created_at", "2016-05-13 16:13:30.300615"], ["updated_at", "2016-05-13 16:13:30.300615"]]
51866
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51867
-  (0.9ms) rollback transaction
51868
-  (0.0ms) begin transaction
51869
-  (0.0ms) SAVEPOINT active_record_1
51870
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1
51871
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1
51872
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 43"], ["key", "Key 43"], ["secret", "Account 43"], ["canvas_account_id", "43"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.305446"], ["updated_at", "2016-05-13 16:13:30.305446"]]
51873
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51874
-  (0.0ms) SAVEPOINT active_record_1
51875
- SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test7@test.com"], ["name", "Factory User 7"], ["canvas_user_id", "7"], ["created_at", "2016-05-13 16:13:30.307677"], ["updated_at", "2016-05-13 16:13:30.307677"]]
51876
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51877
-  (0.0ms) SAVEPOINT active_record_1
51878
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1
51879
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1
51880
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 44"], ["key", "Key 44"], ["secret", "Account 44"], ["canvas_account_id", "44"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.310924"], ["updated_at", "2016-05-13 16:13:30.310924"]]
51881
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51882
-  (0.1ms) SAVEPOINT active_record_1
51883
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1
51884
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1
51885
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 45"], ["key", "Key 45"], ["secret", "Account 45"], ["canvas_account_id", "45"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.366311"], ["updated_at", "2016-05-13 16:13:30.366311"]]
51886
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51887
-  (0.0ms) SAVEPOINT active_record_1
51888
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "19"], ["created_at", "2016-05-13 16:13:30.368233"], ["updated_at", "2016-05-13 16:13:30.368233"]]
51889
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51890
-  (0.0ms) SAVEPOINT active_record_1
51891
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "15"], ["created_at", "2016-05-13 16:13:30.369472"], ["updated_at", "2016-05-13 16:13:30.369472"]]
51892
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51893
-  (0.0ms) SAVEPOINT active_record_1
51894
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "6"], ["created_at", "2016-05-13 16:13:30.370661"], ["updated_at", "2016-05-13 16:13:30.370661"]]
51895
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51896
-  (0.7ms) rollback transaction
51897
-  (0.0ms) begin transaction
51898
-  (0.0ms) rollback transaction
51899
-  (0.0ms) begin transaction
51900
-  (0.0ms) rollback transaction
51901
-  (0.0ms) begin transaction
51902
-  (0.0ms) rollback transaction
51903
-  (0.0ms) begin transaction
51904
-  (0.0ms) rollback transaction
51905
-  (0.0ms) begin transaction
51906
-  (0.0ms) rollback transaction
51907
-  (0.1ms) begin transaction
51908
-  (0.0ms) rollback transaction
51909
-  (0.0ms) begin transaction
51910
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1
51911
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1
51912
-  (0.1ms) rollback transaction
51913
-  (0.0ms) begin transaction
51914
-  (0.0ms) rollback transaction
51915
-  (0.0ms) begin transaction
51916
-  (0.0ms) rollback transaction
51917
-  (0.0ms) begin transaction
51918
-  (0.0ms) rollback transaction
51919
-  (0.0ms) begin transaction
51920
-  (0.0ms) SAVEPOINT active_record_1
51921
- CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1
51922
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1
51923
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 47"], ["key", "Key 47"], ["secret", "Account 47"], ["canvas_account_id", "46"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.384601"], ["updated_at", "2016-05-13 16:13:30.384601"]]
51924
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51925
-  (0.0ms) SAVEPOINT active_record_1
51926
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1
51927
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1
51928
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 48"], ["key", "Key 48"], ["secret", "Account 48"], ["canvas_account_id", "47"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.388190"], ["updated_at", "2016-05-13 16:13:30.388190"]]
51929
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51930
-  (0.0ms) SAVEPOINT active_record_1
51931
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "20"], ["created_at", "2016-05-13 16:13:30.390292"], ["updated_at", "2016-05-13 16:13:30.390292"]]
51932
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51933
-  (0.0ms) SAVEPOINT active_record_1
51934
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "16"], ["created_at", "2016-05-13 16:13:30.391673"], ["updated_at", "2016-05-13 16:13:30.391673"]]
51935
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51936
-  (0.8ms) rollback transaction
51937
-  (0.0ms) begin transaction
51938
-  (0.1ms) SAVEPOINT active_record_1
51939
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1
51940
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1
51941
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 49"], ["key", "Key 49"], ["secret", "Account 49"], ["canvas_account_id", "48"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.398114"], ["updated_at", "2016-05-13 16:13:30.398114"]]
51942
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51943
-  (0.0ms) SAVEPOINT active_record_1
51944
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1
51945
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1
51946
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 50"], ["key", "Key 50"], ["secret", "Account 50"], ["canvas_account_id", "49"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.401546"], ["updated_at", "2016-05-13 16:13:30.401546"]]
51947
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51948
-  (0.0ms) SAVEPOINT active_record_1
51949
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "21"], ["created_at", "2016-05-13 16:13:30.403880"], ["updated_at", "2016-05-13 16:13:30.403880"]]
51950
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51951
-  (0.0ms) SAVEPOINT active_record_1
51952
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "17"], ["created_at", "2016-05-13 16:13:30.405446"], ["updated_at", "2016-05-13 16:13:30.405446"]]
51953
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51954
-  (0.7ms) rollback transaction
51955
-  (0.0ms) begin transaction
51956
-  (0.0ms) SAVEPOINT active_record_1
51957
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1
51958
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1
51959
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 51"], ["key", "Key 51"], ["secret", "Account 51"], ["canvas_account_id", "50"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.411171"], ["updated_at", "2016-05-13 16:13:30.411171"]]
51960
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51961
-  (0.0ms) SAVEPOINT active_record_1
51962
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1
51963
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1
51964
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 52"], ["key", "Key 52"], ["secret", "Account 52"], ["canvas_account_id", "51"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.414856"], ["updated_at", "2016-05-13 16:13:30.414856"]]
51965
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51966
-  (0.0ms) SAVEPOINT active_record_1
51967
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "22"], ["created_at", "2016-05-13 16:13:30.416909"], ["updated_at", "2016-05-13 16:13:30.416909"]]
51968
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51969
-  (0.0ms) SAVEPOINT active_record_1
51970
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "18"], ["created_at", "2016-05-13 16:13:30.418117"], ["updated_at", "2016-05-13 16:13:30.418117"]]
51971
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51972
-  (0.0ms) SAVEPOINT active_record_1
51973
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["created_at", "2016-05-13 16:13:30.419718"], ["updated_at", "2016-05-13 16:13:30.419718"]]
51974
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51975
-  (0.0ms) SAVEPOINT active_record_1
51976
- SQL (0.2ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["created_at", "2016-05-13 16:13:30.421368"], ["updated_at", "2016-05-13 16:13:30.421368"]]
51977
- SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_sections.coalescing_panda_course_id, coalescing_panda_sections.canvas_section_id: INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)
51978
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
51979
-  (0.8ms) rollback transaction
51980
-  (0.0ms) begin transaction
51981
-  (0.0ms) SAVEPOINT active_record_1
51982
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1
51983
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1
51984
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 53"], ["key", "Key 53"], ["secret", "Account 53"], ["canvas_account_id", "52"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.427648"], ["updated_at", "2016-05-13 16:13:30.427648"]]
51985
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51986
-  (0.0ms) SAVEPOINT active_record_1
51987
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1
51988
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1
51989
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 54"], ["key", "Key 54"], ["secret", "Account 54"], ["canvas_account_id", "53"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.430971"], ["updated_at", "2016-05-13 16:13:30.430971"]]
51990
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51991
-  (0.0ms) SAVEPOINT active_record_1
51992
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "23"], ["created_at", "2016-05-13 16:13:30.432892"], ["updated_at", "2016-05-13 16:13:30.432892"]]
51993
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51994
-  (0.1ms) SAVEPOINT active_record_1
51995
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "19"], ["created_at", "2016-05-13 16:13:30.434390"], ["updated_at", "2016-05-13 16:13:30.434390"]]
51996
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51997
-  (0.7ms) rollback transaction
51998
-  (0.0ms) begin transaction
51999
-  (0.0ms) rollback transaction
52000
-  (0.0ms) begin transaction
52001
-  (0.0ms) rollback transaction
52002
-  (0.0ms) begin transaction
52003
-  (0.0ms) SAVEPOINT active_record_1
52004
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1
52005
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1
52006
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 55"], ["key", "Key 55"], ["secret", "Account 55"], ["canvas_account_id", "54"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.447209"], ["updated_at", "2016-05-13 16:13:30.447209"]]
52007
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52008
-  (0.0ms) SAVEPOINT active_record_1
52009
- SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test8@test.com"], ["name", "Factory User 8"], ["canvas_user_id", "8"], ["created_at", "2016-05-13 16:13:30.449514"], ["updated_at", "2016-05-13 16:13:30.449514"]]
52010
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52011
-  (0.0ms) SAVEPOINT active_record_1
52012
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1
52013
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1
52014
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 56"], ["key", "Key 56"], ["secret", "Account 56"], ["canvas_account_id", "55"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.453046"], ["updated_at", "2016-05-13 16:13:30.453046"]]
52015
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52016
-  (0.0ms) SAVEPOINT active_record_1
52017
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1
52018
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1
52019
- SQL (0.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 57"], ["key", "Key 57"], ["secret", "Account 57"], ["canvas_account_id", "56"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.455844"], ["updated_at", "2016-05-13 16:13:30.455844"]]
52020
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52021
-  (0.0ms) SAVEPOINT active_record_1
52022
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "24"], ["created_at", "2016-05-13 16:13:30.457387"], ["updated_at", "2016-05-13 16:13:30.457387"]]
52023
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52024
-  (0.0ms) SAVEPOINT active_record_1
52025
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "20"], ["created_at", "2016-05-13 16:13:30.458693"], ["updated_at", "2016-05-13 16:13:30.458693"]]
52026
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52027
-  (0.0ms) SAVEPOINT active_record_1
52028
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "3"], ["created_at", "2016-05-13 16:13:30.460115"], ["updated_at", "2016-05-13 16:13:30.460115"]]
52029
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52030
-  (0.8ms) rollback transaction
52031
-  (0.0ms) begin transaction
52032
-  (0.1ms) SAVEPOINT active_record_1
52033
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1
52034
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1
52035
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 58"], ["key", "Key 58"], ["secret", "Account 58"], ["canvas_account_id", "57"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.468370"], ["updated_at", "2016-05-13 16:13:30.468370"]]
52036
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52037
-  (0.0ms) SAVEPOINT active_record_1
52038
- SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test9@test.com"], ["name", "Factory User 9"], ["canvas_user_id", "9"], ["created_at", "2016-05-13 16:13:30.470952"], ["updated_at", "2016-05-13 16:13:30.470952"]]
52039
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52040
-  (0.0ms) SAVEPOINT active_record_1
52041
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1
52042
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1
52043
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 59"], ["key", "Key 59"], ["secret", "Account 59"], ["canvas_account_id", "58"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.474712"], ["updated_at", "2016-05-13 16:13:30.474712"]]
52044
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52045
-  (0.0ms) SAVEPOINT active_record_1
52046
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1
52047
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1
52048
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 60"], ["key", "Key 60"], ["secret", "Account 60"], ["canvas_account_id", "59"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.478935"], ["updated_at", "2016-05-13 16:13:30.478935"]]
52049
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52050
-  (0.0ms) SAVEPOINT active_record_1
52051
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "25"], ["created_at", "2016-05-13 16:13:30.481216"], ["updated_at", "2016-05-13 16:13:30.481216"]]
52052
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52053
-  (0.0ms) SAVEPOINT active_record_1
52054
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "21"], ["created_at", "2016-05-13 16:13:30.482813"], ["updated_at", "2016-05-13 16:13:30.482813"]]
52055
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52056
-  (0.0ms) SAVEPOINT active_record_1
52057
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "4"], ["created_at", "2016-05-13 16:13:30.484341"], ["updated_at", "2016-05-13 16:13:30.484341"]]
52058
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52059
-  (0.8ms) rollback transaction
52060
-  (0.0ms) begin transaction
52061
-  (0.0ms) SAVEPOINT active_record_1
52062
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1
52063
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1
52064
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 61"], ["key", "Key 61"], ["secret", "Account 61"], ["canvas_account_id", "60"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.490821"], ["updated_at", "2016-05-13 16:13:30.490821"]]
52065
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52066
-  (0.0ms) SAVEPOINT active_record_1
52067
- SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test10@test.com"], ["name", "Factory User 10"], ["canvas_user_id", "10"], ["created_at", "2016-05-13 16:13:30.493155"], ["updated_at", "2016-05-13 16:13:30.493155"]]
52068
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52069
-  (0.0ms) SAVEPOINT active_record_1
52070
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1
52071
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1
52072
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 62"], ["key", "Key 62"], ["secret", "Account 62"], ["canvas_account_id", "61"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.496173"], ["updated_at", "2016-05-13 16:13:30.496173"]]
52073
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52074
-  (0.0ms) SAVEPOINT active_record_1
52075
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1
52076
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1
52077
- SQL (0.0ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 63"], ["key", "Key 63"], ["secret", "Account 63"], ["canvas_account_id", "62"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.499090"], ["updated_at", "2016-05-13 16:13:30.499090"]]
52078
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52079
-  (0.0ms) SAVEPOINT active_record_1
52080
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "26"], ["created_at", "2016-05-13 16:13:30.500699"], ["updated_at", "2016-05-13 16:13:30.500699"]]
52081
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52082
-  (0.0ms) SAVEPOINT active_record_1
52083
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "22"], ["created_at", "2016-05-13 16:13:30.502018"], ["updated_at", "2016-05-13 16:13:30.502018"]]
52084
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52085
-  (0.0ms) SAVEPOINT active_record_1
52086
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "5"], ["created_at", "2016-05-13 16:13:30.503623"], ["updated_at", "2016-05-13 16:13:30.503623"]]
52087
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52088
-  (0.9ms) rollback transaction
52089
-  (0.1ms) begin transaction
52090
-  (0.0ms) SAVEPOINT active_record_1
52091
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1
52092
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1
52093
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 64"], ["key", "Key 64"], ["secret", "Account 64"], ["canvas_account_id", "63"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.509889"], ["updated_at", "2016-05-13 16:13:30.509889"]]
52094
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52095
-  (0.0ms) SAVEPOINT active_record_1
52096
- SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test11@test.com"], ["name", "Factory User 11"], ["canvas_user_id", "11"], ["created_at", "2016-05-13 16:13:30.512297"], ["updated_at", "2016-05-13 16:13:30.512297"]]
52097
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52098
-  (0.0ms) SAVEPOINT active_record_1
52099
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1
52100
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1
52101
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 65"], ["key", "Key 65"], ["secret", "Account 65"], ["canvas_account_id", "64"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.515339"], ["updated_at", "2016-05-13 16:13:30.515339"]]
52102
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52103
-  (0.0ms) SAVEPOINT active_record_1
52104
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1
52105
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1
52106
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 66"], ["key", "Key 66"], ["secret", "Account 66"], ["canvas_account_id", "65"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.518580"], ["updated_at", "2016-05-13 16:13:30.518580"]]
52107
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52108
-  (0.0ms) SAVEPOINT active_record_1
52109
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "27"], ["created_at", "2016-05-13 16:13:30.520677"], ["updated_at", "2016-05-13 16:13:30.520677"]]
52110
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52111
-  (0.0ms) SAVEPOINT active_record_1
52112
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "23"], ["created_at", "2016-05-13 16:13:30.522176"], ["updated_at", "2016-05-13 16:13:30.522176"]]
52113
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52114
-  (0.0ms) SAVEPOINT active_record_1
52115
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "6"], ["created_at", "2016-05-13 16:13:30.523648"], ["updated_at", "2016-05-13 16:13:30.523648"]]
52116
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52117
-  (0.0ms) SAVEPOINT active_record_1
52118
- SQL (0.5ms) INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_assignment_id", 1], ["canvas_submission_id", "1"], ["created_at", "2016-05-13 16:13:30.525802"], ["updated_at", "2016-05-13 16:13:30.525802"]]
52119
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52120
-  (0.0ms) SAVEPOINT active_record_1
52121
- SQL (0.2ms) INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_assignment_id", 1], ["canvas_submission_id", "1"], ["created_at", "2016-05-13 16:13:30.528244"], ["updated_at", "2016-05-13 16:13:30.528244"]]
52122
- SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_submissions.coalescing_panda_user_id, coalescing_panda_submissions.coalescing_panda_assignment_id, coalescing_panda_submissions.canvas_submission_id: INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)
52123
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
52124
-  (0.9ms) rollback transaction
52125
-  (0.0ms) begin transaction
52126
-  (0.0ms) SAVEPOINT active_record_1
52127
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1
52128
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1
52129
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 67"], ["key", "Key 67"], ["secret", "Account 67"], ["canvas_account_id", "66"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.534664"], ["updated_at", "2016-05-13 16:13:30.534664"]]
52130
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52131
-  (0.0ms) SAVEPOINT active_record_1
52132
- SQL (0.3ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test12@test.com"], ["name", "Factory User 12"], ["canvas_user_id", "12"], ["created_at", "2016-05-13 16:13:30.537122"], ["updated_at", "2016-05-13 16:13:30.537122"]]
52133
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52134
-  (0.0ms) SAVEPOINT active_record_1
52135
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1
52136
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1
52137
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 68"], ["key", "Key 68"], ["secret", "Account 68"], ["canvas_account_id", "67"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.540238"], ["updated_at", "2016-05-13 16:13:30.540238"]]
52138
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52139
-  (0.0ms) SAVEPOINT active_record_1
52140
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1
52141
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1
52142
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 69"], ["key", "Key 69"], ["secret", "Account 69"], ["canvas_account_id", "68"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.543620"], ["updated_at", "2016-05-13 16:13:30.543620"]]
52143
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52144
-  (0.0ms) SAVEPOINT active_record_1
52145
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "28"], ["created_at", "2016-05-13 16:13:30.545524"], ["updated_at", "2016-05-13 16:13:30.545524"]]
52146
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52147
-  (0.0ms) SAVEPOINT active_record_1
52148
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "24"], ["created_at", "2016-05-13 16:13:30.547028"], ["updated_at", "2016-05-13 16:13:30.547028"]]
52149
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52150
-  (0.0ms) SAVEPOINT active_record_1
52151
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "7"], ["created_at", "2016-05-13 16:13:30.548487"], ["updated_at", "2016-05-13 16:13:30.548487"]]
52152
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52153
-  (0.0ms) SAVEPOINT active_record_1
52154
- SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_assignment_id", 1], ["canvas_submission_id", "1"], ["created_at", "2016-05-13 16:13:30.550327"], ["updated_at", "2016-05-13 16:13:30.550327"]]
52155
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52156
-  (0.0ms) SAVEPOINT active_record_1
52157
- SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_user_id", 1], ["coalescing_panda_assignment_id", 1], ["canvas_submission_id", "2"], ["created_at", "2016-05-13 16:13:30.552131"], ["updated_at", "2016-05-13 16:13:30.552131"]]
52158
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52159
-  (0.9ms) rollback transaction
52160
-  (0.1ms) begin transaction
52161
-  (0.0ms) SAVEPOINT active_record_1
52162
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1
52163
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1
52164
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 70"], ["key", "Key 70"], ["secret", "Account 70"], ["canvas_account_id", "69"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.558262"], ["updated_at", "2016-05-13 16:13:30.558262"]]
52165
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52166
-  (0.0ms) SAVEPOINT active_record_1
52167
- SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test13@test.com"], ["name", "Factory User 13"], ["canvas_user_id", "13"], ["created_at", "2016-05-13 16:13:30.560791"], ["updated_at", "2016-05-13 16:13:30.560791"]]
52168
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52169
-  (0.0ms) SAVEPOINT active_record_1
52170
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1
52171
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1
52172
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 71"], ["key", "Key 71"], ["secret", "Account 71"], ["canvas_account_id", "70"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.565346"], ["updated_at", "2016-05-13 16:13:30.565346"]]
52173
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52174
-  (0.0ms) SAVEPOINT active_record_1
52175
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1
52176
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1
52177
- SQL (0.1ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 72"], ["key", "Key 72"], ["secret", "Account 72"], ["canvas_account_id", "71"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.569356"], ["updated_at", "2016-05-13 16:13:30.569356"]]
52178
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52179
-  (0.0ms) SAVEPOINT active_record_1
52180
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 3], ["canvas_term_id", "29"], ["created_at", "2016-05-13 16:13:30.571593"], ["updated_at", "2016-05-13 16:13:30.571593"]]
52181
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52182
-  (0.0ms) SAVEPOINT active_record_1
52183
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "25"], ["created_at", "2016-05-13 16:13:30.573145"], ["updated_at", "2016-05-13 16:13:30.573145"]]
52184
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52185
-  (0.0ms) SAVEPOINT active_record_1
52186
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("name", "coalescing_panda_course_id", "canvas_assignment_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "test assignment"], ["coalescing_panda_course_id", 1], ["canvas_assignment_id", "8"], ["created_at", "2016-05-13 16:13:30.574722"], ["updated_at", "2016-05-13 16:13:30.574722"]]
52187
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52188
-  (0.8ms) rollback transaction
52189
-  (0.0ms) begin transaction
52190
-  (0.0ms) rollback transaction
52191
-  (0.0ms) begin transaction
52192
-  (0.0ms) rollback transaction
52193
-  (0.0ms) begin transaction
52194
-  (0.0ms) SAVEPOINT active_record_1
52195
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1
52196
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1
52197
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 73"], ["key", "Key 73"], ["secret", "Account 73"], ["canvas_account_id", "72"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.580973"], ["updated_at", "2016-05-13 16:13:30.580973"]]
52198
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52199
-  (0.3ms) rollback transaction
52200
-  (0.0ms) begin transaction
52201
-  (0.0ms) SAVEPOINT active_record_1
52202
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1
52203
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1
52204
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 74"], ["key", "Key 74"], ["secret", "Account 74"], ["canvas_account_id", "73"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.586172"], ["updated_at", "2016-05-13 16:13:30.586172"]]
52205
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52206
-  (0.0ms) SAVEPOINT active_record_1
52207
- SQL (0.5ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_term_id", "1"], ["created_at", "2016-05-13 16:13:30.588421"], ["updated_at", "2016-05-13 16:13:30.588421"]]
52208
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52209
-  (0.0ms) SAVEPOINT active_record_1
52210
- SQL (0.2ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_term_id", "1"], ["created_at", "2016-05-13 16:13:30.590884"], ["updated_at", "2016-05-13 16:13:30.590884"]]
52211
- SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_terms.canvas_term_id, coalescing_panda_terms.coalescing_panda_lti_account_id: INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)
52212
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
52213
-  (0.6ms) rollback transaction
52214
-  (0.1ms) begin transaction
52215
-  (0.0ms) rollback transaction
52216
-  (0.0ms) begin transaction
52217
-  (0.0ms) rollback transaction
52218
-  (0.0ms) begin transaction
52219
-  (0.0ms) rollback transaction
52220
-  (0.0ms) begin transaction
52221
-  (0.0ms) rollback transaction
52222
-  (0.0ms) begin transaction
52223
-  (0.0ms) SAVEPOINT active_record_1
52224
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1
52225
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1
52226
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 75"], ["key", "Key 75"], ["secret", "Account 75"], ["canvas_account_id", "74"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.598962"], ["updated_at", "2016-05-13 16:13:30.598962"]]
52227
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52228
-  (0.3ms) rollback transaction
52229
-  (0.0ms) begin transaction
52230
-  (0.0ms) SAVEPOINT active_record_1
52231
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1
52232
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1
52233
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 76"], ["key", "Key 76"], ["secret", "Account 76"], ["canvas_account_id", "75"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.605669"], ["updated_at", "2016-05-13 16:13:30.605669"]]
52234
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52235
-  (0.4ms) rollback transaction
52236
-  (0.0ms) begin transaction
52237
-  (0.0ms) SAVEPOINT active_record_1
52238
- CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1
52239
- CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1
52240
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 77"], ["key", "Key 77"], ["secret", "Account 77"], ["canvas_account_id", "76"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.613271"], ["updated_at", "2016-05-13 16:13:30.613271"]]
52241
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52242
-  (0.0ms) SAVEPOINT active_record_1
52243
- SQL (0.4ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test16@test.com"], ["name", "Factory User 16"], ["canvas_user_id", "1"], ["created_at", "2016-05-13 16:13:30.616637"], ["updated_at", "2016-05-13 16:13:30.616637"]]
52244
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52245
-  (0.0ms) SAVEPOINT active_record_1
52246
- SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["email", "test17@test.com"], ["name", "Factory User 17"], ["canvas_user_id", "1"], ["created_at", "2016-05-13 16:13:30.619610"], ["updated_at", "2016-05-13 16:13:30.619610"]]
52247
- SQLite3::ConstraintException: UNIQUE constraint failed: coalescing_panda_users.coalescing_panda_lti_account_id, coalescing_panda_users.canvas_user_id: INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "email", "name", "canvas_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)
52248
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
52249
-  (0.6ms) rollback transaction
52250
-  (0.0ms) begin transaction
52251
-  (0.0ms) SAVEPOINT active_record_1
52252
- CoalescingPanda::LtiAccount Exists (0.2ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1
52253
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1
52254
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 78"], ["key", "Key 78"], ["secret", "Account 78"], ["canvas_account_id", "77"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.625919"], ["updated_at", "2016-05-13 16:13:30.625919"]]
52255
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52256
-  (0.4ms) rollback transaction
52257
-  (0.1ms) begin transaction
52258
-  (0.1ms) SAVEPOINT active_record_1
52259
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1
52260
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1
52261
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 79"], ["key", "Key 79"], ["secret", "Account 79"], ["canvas_account_id", "78"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.635474"], ["updated_at", "2016-05-13 16:13:30.635474"]]
52262
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52263
-  (0.0ms) SAVEPOINT active_record_1
52264
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1
52265
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1
52266
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 80"], ["key", "Key 80"], ["secret", "Account 80"], ["canvas_account_id", "79"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.639109"], ["updated_at", "2016-05-13 16:13:30.639109"]]
52267
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52268
-  (0.0ms) SAVEPOINT active_record_1
52269
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "31"], ["created_at", "2016-05-13 16:13:30.641189"], ["updated_at", "2016-05-13 16:13:30.641189"]]
52270
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52271
-  (0.0ms) SAVEPOINT active_record_1
52272
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "26"], ["created_at", "2016-05-13 16:13:30.642686"], ["updated_at", "2016-05-13 16:13:30.642686"]]
52273
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52274
- CoalescingPanda::CanvasBatch Load (0.2ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52275
-  (0.0ms) SAVEPOINT active_record_1
52276
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:30.717629"], ["updated_at", "2016-05-13 16:13:30.717629"]]
52277
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52278
-  (0.0ms) SAVEPOINT active_record_1
52279
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:30.719679"], ["id", 1]]
52280
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52281
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1
52282
-  (0.8ms) rollback transaction
52283
-  (0.0ms) begin transaction
52284
-  (0.1ms) SAVEPOINT active_record_1
52285
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1
52286
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1
52287
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 81"], ["key", "Key 81"], ["secret", "Account 81"], ["canvas_account_id", "80"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.729154"], ["updated_at", "2016-05-13 16:13:30.729154"]]
52288
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52289
-  (0.0ms) SAVEPOINT active_record_1
52290
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1
52291
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1
52292
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 82"], ["key", "Key 82"], ["secret", "Account 82"], ["canvas_account_id", "81"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.733407"], ["updated_at", "2016-05-13 16:13:30.733407"]]
52293
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52294
-  (0.0ms) SAVEPOINT active_record_1
52295
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "32"], ["created_at", "2016-05-13 16:13:30.735787"], ["updated_at", "2016-05-13 16:13:30.735787"]]
52296
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52297
-  (0.0ms) SAVEPOINT active_record_1
52298
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "27"], ["created_at", "2016-05-13 16:13:30.737389"], ["updated_at", "2016-05-13 16:13:30.737389"]]
52299
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52300
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52301
-  (0.0ms) SAVEPOINT active_record_1
52302
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:30.740431"], ["updated_at", "2016-05-13 16:13:30.740431"]]
52303
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52304
-  (0.0ms) SAVEPOINT active_record_1
52305
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:30.742005"], ["id", 1]]
52306
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52307
-  (0.7ms) rollback transaction
52308
-  (0.0ms) begin transaction
52309
-  (0.1ms) SAVEPOINT active_record_1
52310
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1
52311
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1
52312
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 83"], ["key", "Key 83"], ["secret", "Account 83"], ["canvas_account_id", "82"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.750061"], ["updated_at", "2016-05-13 16:13:30.750061"]]
52313
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52314
-  (0.0ms) SAVEPOINT active_record_1
52315
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1
52316
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1
52317
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 84"], ["key", "Key 84"], ["secret", "Account 84"], ["canvas_account_id", "83"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.753761"], ["updated_at", "2016-05-13 16:13:30.753761"]]
52318
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52319
-  (0.0ms) SAVEPOINT active_record_1
52320
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "33"], ["created_at", "2016-05-13 16:13:30.755781"], ["updated_at", "2016-05-13 16:13:30.755781"]]
52321
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52322
-  (0.0ms) SAVEPOINT active_record_1
52323
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "28"], ["created_at", "2016-05-13 16:13:30.756978"], ["updated_at", "2016-05-13 16:13:30.756978"]]
52324
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52325
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52326
-  (0.0ms) SAVEPOINT active_record_1
52327
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:30.760131"], ["updated_at", "2016-05-13 16:13:30.760131"]]
52328
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52329
-  (0.0ms) SAVEPOINT active_record_1
52330
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:30.762337"], ["id", 1]]
52331
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52332
-  (0.1ms) SAVEPOINT active_record_1
52333
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["status", "Started"], ["updated_at", "2016-05-13 16:13:30.779414"], ["id", 1]]
52334
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52335
- 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" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52336
-  (0.0ms) SAVEPOINT active_record_1
52337
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["name", "Course1"], ["created_at", "2016-05-13 16:13:30.784377"], ["updated_at", "2016-05-13 16:13:30.784377"]]
52338
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52339
- 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"."id" != 1) [["coalescing_panda_course_id", 1]]
52340
-  (0.0ms) SAVEPOINT active_record_1
52341
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 12.5], ["updated_at", "2016-05-13 16:13:30.786862"], ["id", 1]]
52342
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52343
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]
52344
-  (0.0ms) SAVEPOINT active_record_1
52345
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"], ["name", "teacher@test.com"], ["login_id", "teacher@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:30.790741"], ["updated_at", "2016-05-13 16:13:30.790741"]]
52346
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52347
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]
52348
-  (0.0ms) SAVEPOINT active_record_1
52349
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"], ["name", "student1@test.com"], ["login_id", "student1@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:30.792790"], ["updated_at", "2016-05-13 16:13:30.792790"]]
52350
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52351
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]
52352
-  (0.0ms) SAVEPOINT active_record_1
52353
- SQL (0.0ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"], ["name", "student2@test.com"], ["login_id", "student2@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:30.794491"], ["updated_at", "2016-05-13 16:13:30.794491"]]
52354
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52355
- 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 ("coalescing_panda_users"."id" IS NOT NULL) [["coalescing_panda_course_id", 1]]
52356
-  (0.0ms) SAVEPOINT active_record_1
52357
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 25.0], ["updated_at", "2016-05-13 16:13:30.807924"], ["id", 1]]
52358
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52359
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52360
- CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"]]
52361
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52362
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]
52363
-  (0.0ms) SAVEPOINT active_record_1
52364
- SQL (0.2ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"], ["coalescing_panda_user_id", 1], ["created_at", "2014-11-07 21:17:54.000000"], ["updated_at", "2014-11-11 22:11:19.000000"], ["workflow_state", "active"], ["enrollment_type", "TeacherEnrollment"]]
52365
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52366
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52367
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"]]
52368
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52369
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]
52370
-  (0.0ms) SAVEPOINT active_record_1
52371
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"], ["coalescing_panda_user_id", 2], ["created_at", "2014-11-07 21:18:16.000000"], ["updated_at", "2014-11-20 23:18:17.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]
52372
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52373
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52374
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"]]
52375
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52376
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]
52377
-  (0.0ms) SAVEPOINT active_record_1
52378
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"], ["coalescing_panda_user_id", 3], ["created_at", "2014-11-07 21:18:17.000000"], ["updated_at", "2014-11-20 23:18:21.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]
52379
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52380
- 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 ("coalescing_panda_enrollments"."id" NOT IN (1, 2, 3)) [["coalescing_panda_course_id", 1]]
52381
-  (0.0ms) SAVEPOINT active_record_1
52382
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 37.5], ["updated_at", "2016-05-13 16:13:30.826678"], ["id", 1]]
52383
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52384
- CoalescingPanda::AssignmentGroup Load (0.5ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? ORDER BY "coalescing_panda_assignment_groups"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "3"]]
52385
-  (0.1ms) SAVEPOINT active_record_1
52386
- SQL (0.9ms) INSERT INTO "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id", "group_weight", "name", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "3"], ["group_weight", 500.0], ["name", "Assignments"], ["position", 3], ["created_at", "2016-05-13 16:13:30.831382"], ["updated_at", "2016-05-13 16:13:30.831382"]]
52387
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52388
- CoalescingPanda::AssignmentGroup Load (0.1ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND ("coalescing_panda_assignment_groups"."id" != 1) [["coalescing_panda_course_id", 1]]
52389
-  (0.0ms) SAVEPOINT active_record_1
52390
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 50.0], ["updated_at", "2016-05-13 16:13:30.835212"], ["id", 1]]
52391
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52392
- 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" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]]
52393
- CoalescingPanda::AssignmentGroup Load (0.1ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]
52394
- CoalescingPanda::GroupCategory Load (0.5ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1]]
52395
-  (0.0ms) SAVEPOINT active_record_1
52396
- SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "group_category_id", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["created_at", "2014-11-18 18:04:38.000000"], ["description", "<p>What is your name?</p>"], ["grade_group_students_individually", "f"], ["group_category_id", 1], ["points_possible", 100.0], ["updated_at", "2014-11-18 18:04:42.000000"], ["name", "Gimme your name"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]
52397
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52398
- 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" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]]
52399
- CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]
52400
- CoalescingPanda::GroupCategory Load (0.1ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" IS NULL LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52401
-  (0.0ms) SAVEPOINT active_record_1
52402
- SQL (0.3ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"], ["created_at", "2014-11-18 19:10:28.000000"], ["description", "<p>What is your Favorite Color?</p>"], ["grade_group_students_individually", "f"], ["points_possible", 100.0], ["updated_at", "2014-11-18 19:10:30.000000"], ["name", "Favorite Color"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]
52403
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52404
- CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND ("coalescing_panda_assignments"."id" NOT IN (1, 2)) [["coalescing_panda_course_id", 1]]
52405
-  (0.0ms) SAVEPOINT active_record_1
52406
- SQL (0.2ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 62.5], ["updated_at", "2016-05-13 16:13:30.856432"], ["id", 1]]
52407
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52408
- 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]]
52409
-  (0.1ms) SAVEPOINT active_record_1
52410
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 75.0], ["updated_at", "2016-05-13 16:13:30.860268"], ["id", 1]]
52411
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52412
- CoalescingPanda::Group Load (0.5ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]
52413
- CoalescingPanda::GroupCategory Load (0.1ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1]]
52414
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]
52415
-  (0.1ms) SAVEPOINT active_record_1
52416
- SQL (0.5ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "leader_id", "group_category_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"], ["leader_id", 2], ["group_category_id", "1"], ["name", "Student Group 1"], ["members_count", 2], ["created_at", "2016-05-13 16:13:30.929460"], ["updated_at", "2016-05-13 16:13:30.929460"]]
52417
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52418
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"]]
52419
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" IS NULL LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52420
-  (0.0ms) SAVEPOINT active_record_1
52421
- SQL (0.1ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"], ["name", "Student Group 2"], ["members_count", 2], ["created_at", "2016-05-13 16:13:30.933103"], ["updated_at", "2016-05-13 16:13:30.933103"]]
52422
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52423
- CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND ("coalescing_panda_groups"."id" NOT IN (1, 2)) [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52424
-  (0.0ms) SAVEPOINT active_record_1
52425
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 87.5], ["updated_at", "2016-05-13 16:13:30.935001"], ["id", 1]]
52426
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52427
- CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52428
- CoalescingPanda::GroupMembership Load (0.6ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "13"]]
52429
- CoalescingPanda::Group Load (0.2ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]
52430
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]
52431
-  (0.0ms) SAVEPOINT active_record_1
52432
- SQL (0.5ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "moderator", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", "13"], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["moderator", "t"], ["workflow_state", "accepted"], ["created_at", "2016-05-13 16:13:30.949482"], ["updated_at", "2016-05-13 16:13:30.949482"]]
52433
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52434
- CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "14"]]
52435
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]
52436
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]]
52437
-  (0.0ms) SAVEPOINT active_record_1
52438
- SQL (0.0ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "moderator", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", "14"], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["moderator", "f"], ["workflow_state", "accepted"], ["created_at", "2016-05-13 16:13:30.953205"], ["updated_at", "2016-05-13 16:13:30.953205"]]
52439
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52440
- CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "13"]]
52441
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]
52442
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]
52443
-  (0.0ms) SAVEPOINT active_record_1
52444
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52445
- CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "14"]]
52446
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]
52447
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]]
52448
-  (0.0ms) SAVEPOINT active_record_1
52449
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52450
- CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND ("coalescing_panda_group_memberships"."id" NOT IN (1, 2, 1, 2)) [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52451
-  (0.0ms) SAVEPOINT active_record_1
52452
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["percent_complete", 100.0], ["updated_at", "2016-05-13 16:13:30.959541"], ["id", 1]]
52453
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52454
-  (0.0ms) SAVEPOINT active_record_1
52455
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["status", "Completed"], ["updated_at", "2016-05-13 16:13:30.960816"], ["id", 1]]
52456
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52457
-  (1.3ms) rollback transaction
52458
-  (0.0ms) begin transaction
52459
- CoalescingPanda::Section Load (0.1ms) SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"
52460
-  (0.0ms) SAVEPOINT active_record_1
52461
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1
52462
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1
52463
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 85"], ["key", "Key 85"], ["secret", "Account 85"], ["canvas_account_id", "84"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.969318"], ["updated_at", "2016-05-13 16:13:30.969318"]]
52464
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52465
-  (0.0ms) SAVEPOINT active_record_1
52466
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1
52467
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1
52468
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 86"], ["key", "Key 86"], ["secret", "Account 86"], ["canvas_account_id", "85"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.972446"], ["updated_at", "2016-05-13 16:13:30.972446"]]
52469
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52470
-  (0.0ms) SAVEPOINT active_record_1
52471
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "34"], ["created_at", "2016-05-13 16:13:30.974398"], ["updated_at", "2016-05-13 16:13:30.974398"]]
52472
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52473
-  (0.0ms) SAVEPOINT active_record_1
52474
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "29"], ["created_at", "2016-05-13 16:13:30.975604"], ["updated_at", "2016-05-13 16:13:30.975604"]]
52475
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52476
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52477
-  (0.0ms) SAVEPOINT active_record_1
52478
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:30.978415"], ["updated_at", "2016-05-13 16:13:30.978415"]]
52479
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52480
-  (0.0ms) SAVEPOINT active_record_1
52481
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:30.980192"], ["id", 1]]
52482
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52483
- 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" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52484
-  (0.0ms) SAVEPOINT active_record_1
52485
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["name", "Course1"], ["created_at", "2016-05-13 16:13:30.983122"], ["updated_at", "2016-05-13 16:13:30.983122"]]
52486
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52487
- 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"."id" != 1) [["coalescing_panda_course_id", 1]]
52488
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_sections"
52489
-  (0.9ms) rollback transaction
52490
-  (0.0ms) begin transaction
52491
- CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users"
52492
-  (0.0ms) SAVEPOINT active_record_1
52493
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1
52494
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1
52495
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 87"], ["key", "Key 87"], ["secret", "Account 87"], ["canvas_account_id", "86"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.992605"], ["updated_at", "2016-05-13 16:13:30.992605"]]
52496
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52497
-  (0.1ms) SAVEPOINT active_record_1
52498
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1
52499
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1
52500
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 88"], ["key", "Key 88"], ["secret", "Account 88"], ["canvas_account_id", "87"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:30.997770"], ["updated_at", "2016-05-13 16:13:30.997770"]]
52501
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52502
-  (0.0ms) SAVEPOINT active_record_1
52503
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "35"], ["created_at", "2016-05-13 16:13:31.000220"], ["updated_at", "2016-05-13 16:13:31.000220"]]
52504
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52505
-  (0.0ms) SAVEPOINT active_record_1
52506
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "30"], ["created_at", "2016-05-13 16:13:31.001572"], ["updated_at", "2016-05-13 16:13:31.001572"]]
52507
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52508
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52509
-  (0.0ms) SAVEPOINT active_record_1
52510
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.004729"], ["updated_at", "2016-05-13 16:13:31.004729"]]
52511
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52512
-  (0.0ms) SAVEPOINT active_record_1
52513
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.006364"], ["id", 1]]
52514
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52515
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]
52516
-  (0.0ms) SAVEPOINT active_record_1
52517
- SQL (0.2ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"], ["name", "teacher@test.com"], ["login_id", "teacher@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.009441"], ["updated_at", "2016-05-13 16:13:31.009441"]]
52518
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52519
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]
52520
-  (0.0ms) SAVEPOINT active_record_1
52521
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"], ["name", "student1@test.com"], ["login_id", "student1@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.011650"], ["updated_at", "2016-05-13 16:13:31.011650"]]
52522
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52523
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]
52524
-  (0.0ms) SAVEPOINT active_record_1
52525
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"], ["name", "student2@test.com"], ["login_id", "student2@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.013526"], ["updated_at", "2016-05-13 16:13:31.013526"]]
52526
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52527
- 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 ("coalescing_panda_users"."id" IS NOT NULL) [["coalescing_panda_course_id", 1]]
52528
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_users"
52529
-  (0.7ms) rollback transaction
52530
-  (0.0ms) begin transaction
52531
- CoalescingPanda::Enrollment Load (0.2ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"
52532
-  (0.1ms) SAVEPOINT active_record_1
52533
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1
52534
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1
52535
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 89"], ["key", "Key 89"], ["secret", "Account 89"], ["canvas_account_id", "88"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.022863"], ["updated_at", "2016-05-13 16:13:31.022863"]]
52536
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52537
-  (0.0ms) SAVEPOINT active_record_1
52538
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1
52539
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1
52540
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 90"], ["key", "Key 90"], ["secret", "Account 90"], ["canvas_account_id", "89"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.026217"], ["updated_at", "2016-05-13 16:13:31.026217"]]
52541
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52542
-  (0.0ms) SAVEPOINT active_record_1
52543
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "36"], ["created_at", "2016-05-13 16:13:31.028252"], ["updated_at", "2016-05-13 16:13:31.028252"]]
52544
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52545
-  (0.0ms) SAVEPOINT active_record_1
52546
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "31"], ["created_at", "2016-05-13 16:13:31.029574"], ["updated_at", "2016-05-13 16:13:31.029574"]]
52547
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52548
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52549
-  (0.0ms) SAVEPOINT active_record_1
52550
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.032098"], ["updated_at", "2016-05-13 16:13:31.032098"]]
52551
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52552
-  (0.0ms) SAVEPOINT active_record_1
52553
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.033593"], ["id", 1]]
52554
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52555
- 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" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52556
-  (0.0ms) SAVEPOINT active_record_1
52557
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["name", "Course1"], ["created_at", "2016-05-13 16:13:31.035883"], ["updated_at", "2016-05-13 16:13:31.035883"]]
52558
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52559
- 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"."id" != 1) [["coalescing_panda_course_id", 1]]
52560
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]
52561
-  (0.0ms) SAVEPOINT active_record_1
52562
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"], ["name", "teacher@test.com"], ["login_id", "teacher@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.038150"], ["updated_at", "2016-05-13 16:13:31.038150"]]
52563
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52564
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]
52565
-  (0.0ms) SAVEPOINT active_record_1
52566
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"], ["name", "student1@test.com"], ["login_id", "student1@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.039783"], ["updated_at", "2016-05-13 16:13:31.039783"]]
52567
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52568
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]
52569
-  (0.0ms) SAVEPOINT active_record_1
52570
- SQL (0.0ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"], ["name", "student2@test.com"], ["login_id", "student2@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.041364"], ["updated_at", "2016-05-13 16:13:31.041364"]]
52571
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52572
- 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 ("coalescing_panda_users"."id" IS NOT NULL) [["coalescing_panda_course_id", 1]]
52573
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52574
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"]]
52575
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52576
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]
52577
-  (0.0ms) SAVEPOINT active_record_1
52578
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"], ["coalescing_panda_user_id", 1], ["created_at", "2014-11-07 21:17:54.000000"], ["updated_at", "2014-11-11 22:11:19.000000"], ["workflow_state", "active"], ["enrollment_type", "TeacherEnrollment"]]
52579
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52580
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52581
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"]]
52582
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52583
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]
52584
-  (0.0ms) SAVEPOINT active_record_1
52585
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"], ["coalescing_panda_user_id", 2], ["created_at", "2014-11-07 21:18:16.000000"], ["updated_at", "2014-11-20 23:18:17.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]
52586
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52587
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52588
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"]]
52589
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52590
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]
52591
-  (0.0ms) SAVEPOINT active_record_1
52592
- SQL (0.0ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"], ["coalescing_panda_user_id", 3], ["created_at", "2014-11-07 21:18:17.000000"], ["updated_at", "2014-11-20 23:18:21.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]
52593
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52594
- 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 ("coalescing_panda_enrollments"."id" NOT IN (1, 2, 3)) [["coalescing_panda_course_id", 1]]
52595
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_enrollments"
52596
- CoalescingPanda::Enrollment Load (0.1ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1
52597
-  (0.9ms) rollback transaction
52598
-  (0.0ms) begin transaction
52599
-  (0.0ms) SAVEPOINT active_record_1
52600
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1
52601
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1
52602
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 91"], ["key", "Key 91"], ["secret", "Account 91"], ["canvas_account_id", "90"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.062379"], ["updated_at", "2016-05-13 16:13:31.062379"]]
52603
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52604
-  (0.1ms) SAVEPOINT active_record_1
52605
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1
52606
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1
52607
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 92"], ["key", "Key 92"], ["secret", "Account 92"], ["canvas_account_id", "91"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.066170"], ["updated_at", "2016-05-13 16:13:31.066170"]]
52608
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52609
-  (0.0ms) SAVEPOINT active_record_1
52610
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "37"], ["created_at", "2016-05-13 16:13:31.068969"], ["updated_at", "2016-05-13 16:13:31.068969"]]
52611
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52612
-  (0.0ms) SAVEPOINT active_record_1
52613
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "32"], ["created_at", "2016-05-13 16:13:31.070552"], ["updated_at", "2016-05-13 16:13:31.070552"]]
52614
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52615
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52616
-  (0.0ms) SAVEPOINT active_record_1
52617
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.073971"], ["updated_at", "2016-05-13 16:13:31.073971"]]
52618
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52619
-  (0.0ms) SAVEPOINT active_record_1
52620
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.076235"], ["id", 1]]
52621
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52622
- CoalescingPanda::GroupCategory Load (0.2ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" = ? ORDER BY "coalescing_panda_group_categories"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1]]
52623
-  (0.1ms) SAVEPOINT active_record_1
52624
- SQL (0.5ms) INSERT INTO "coalescing_panda_group_categories" ("context_id", "context_type", "canvas_group_category_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1], ["name", "mark red"], ["created_at", "2016-05-13 16:13:31.084359"], ["updated_at", "2016-05-13 16:13:31.084359"]]
52625
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52626
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_group_categories"
52627
-  (0.8ms) rollback transaction
52628
-  (0.1ms) begin transaction
52629
- CoalescingPanda::Assignment Load (0.2ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"
52630
-  (0.1ms) SAVEPOINT active_record_1
52631
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1
52632
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1
52633
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 93"], ["key", "Key 93"], ["secret", "Account 93"], ["canvas_account_id", "92"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.096615"], ["updated_at", "2016-05-13 16:13:31.096615"]]
52634
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52635
-  (0.0ms) SAVEPOINT active_record_1
52636
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1
52637
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1
52638
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 94"], ["key", "Key 94"], ["secret", "Account 94"], ["canvas_account_id", "93"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.100808"], ["updated_at", "2016-05-13 16:13:31.100808"]]
52639
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52640
-  (0.0ms) SAVEPOINT active_record_1
52641
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "38"], ["created_at", "2016-05-13 16:13:31.102685"], ["updated_at", "2016-05-13 16:13:31.102685"]]
52642
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52643
-  (0.0ms) SAVEPOINT active_record_1
52644
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "33"], ["created_at", "2016-05-13 16:13:31.103867"], ["updated_at", "2016-05-13 16:13:31.103867"]]
52645
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52646
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52647
-  (0.0ms) SAVEPOINT active_record_1
52648
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.106402"], ["updated_at", "2016-05-13 16:13:31.106402"]]
52649
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52650
-  (0.0ms) SAVEPOINT active_record_1
52651
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.107768"], ["id", 1]]
52652
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52653
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" = ? ORDER BY "coalescing_panda_group_categories"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1]]
52654
-  (0.0ms) SAVEPOINT active_record_1
52655
- SQL (0.1ms) INSERT INTO "coalescing_panda_group_categories" ("context_id", "context_type", "canvas_group_category_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1], ["name", "mark red"], ["created_at", "2016-05-13 16:13:31.110034"], ["updated_at", "2016-05-13 16:13:31.110034"]]
52656
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52657
- 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" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]]
52658
- CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]
52659
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1]]
52660
-  (0.0ms) SAVEPOINT active_record_1
52661
- SQL (0.2ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "coalescing_panda_group_category_id", "created_at", "description", "grade_group_students_individually", "group_category_id", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["coalescing_panda_group_category_id", 1], ["created_at", "2014-11-18 18:04:38.000000"], ["description", "<p>What is your name?</p>"], ["grade_group_students_individually", "f"], ["group_category_id", 1], ["points_possible", 100.0], ["updated_at", "2014-11-18 18:04:42.000000"], ["name", "Gimme your name"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]
52662
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52663
- 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" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]]
52664
- CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]
52665
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" IS NULL LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52666
-  (0.0ms) SAVEPOINT active_record_1
52667
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"], ["created_at", "2014-11-18 19:10:28.000000"], ["description", "<p>What is your Favorite Color?</p>"], ["grade_group_students_individually", "f"], ["points_possible", 100.0], ["updated_at", "2014-11-18 19:10:30.000000"], ["name", "Favorite Color"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]
52668
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52669
- 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"."id" NOT IN (1, 2)) [["coalescing_panda_course_id", 1]]
52670
-  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignments"
52671
- CoalescingPanda::Assignment Load (0.1ms) SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."canvas_assignment_id" = ? LIMIT 1 [["canvas_assignment_id", "1"]]
52672
- CoalescingPanda::GroupCategory Load (0.1ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."id" = ? LIMIT 1 [["id", 1]]
52673
-  (0.8ms) rollback transaction
52674
-  (0.0ms) begin transaction
52675
- CoalescingPanda::AssignmentGroup Load (0.2ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups"
52676
-  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_assignment_groups"
52677
-  (0.0ms) SAVEPOINT active_record_1
52678
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1
52679
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1
52680
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 95"], ["key", "Key 95"], ["secret", "Account 95"], ["canvas_account_id", "94"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.189544"], ["updated_at", "2016-05-13 16:13:31.189544"]]
52681
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52682
-  (0.1ms) SAVEPOINT active_record_1
52683
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1
52684
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1
52685
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 96"], ["key", "Key 96"], ["secret", "Account 96"], ["canvas_account_id", "95"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.194569"], ["updated_at", "2016-05-13 16:13:31.194569"]]
52686
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52687
-  (0.0ms) SAVEPOINT active_record_1
52688
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "39"], ["created_at", "2016-05-13 16:13:31.197113"], ["updated_at", "2016-05-13 16:13:31.197113"]]
52689
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52690
-  (0.0ms) SAVEPOINT active_record_1
52691
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "34"], ["created_at", "2016-05-13 16:13:31.198514"], ["updated_at", "2016-05-13 16:13:31.198514"]]
52692
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52693
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52694
-  (0.0ms) SAVEPOINT active_record_1
52695
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.201405"], ["updated_at", "2016-05-13 16:13:31.201405"]]
52696
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52697
-  (0.0ms) SAVEPOINT active_record_1
52698
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.203302"], ["id", 1]]
52699
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52700
- CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? ORDER BY "coalescing_panda_assignment_groups"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "3"]]
52701
-  (0.0ms) SAVEPOINT active_record_1
52702
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id", "group_weight", "name", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "3"], ["group_weight", 500.0], ["name", "Assignments"], ["position", 3], ["created_at", "2016-05-13 16:13:31.205975"], ["updated_at", "2016-05-13 16:13:31.205975"]]
52703
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52704
- CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND ("coalescing_panda_assignment_groups"."id" != 1) [["coalescing_panda_course_id", 1]]
52705
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_assignment_groups"
52706
-  (0.6ms) rollback transaction
52707
-  (0.0ms) begin transaction
52708
- CoalescingPanda::Submission Load (0.1ms) SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"
52709
-  (0.0ms) SAVEPOINT active_record_1
52710
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1
52711
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1
52712
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 97"], ["key", "Key 97"], ["secret", "Account 97"], ["canvas_account_id", "96"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.213976"], ["updated_at", "2016-05-13 16:13:31.213976"]]
52713
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52714
-  (0.0ms) SAVEPOINT active_record_1
52715
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1
52716
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1
52717
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 98"], ["key", "Key 98"], ["secret", "Account 98"], ["canvas_account_id", "97"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.217010"], ["updated_at", "2016-05-13 16:13:31.217010"]]
52718
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52719
-  (0.0ms) SAVEPOINT active_record_1
52720
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "40"], ["created_at", "2016-05-13 16:13:31.219489"], ["updated_at", "2016-05-13 16:13:31.219489"]]
52721
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52722
-  (0.1ms) SAVEPOINT active_record_1
52723
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "35"], ["created_at", "2016-05-13 16:13:31.220891"], ["updated_at", "2016-05-13 16:13:31.220891"]]
52724
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52725
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52726
-  (0.1ms) SAVEPOINT active_record_1
52727
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.224067"], ["updated_at", "2016-05-13 16:13:31.224067"]]
52728
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52729
-  (0.0ms) SAVEPOINT active_record_1
52730
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.226203"], ["id", 1]]
52731
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52732
- 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" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52733
-  (0.0ms) SAVEPOINT active_record_1
52734
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["name", "Course1"], ["created_at", "2016-05-13 16:13:31.229130"], ["updated_at", "2016-05-13 16:13:31.229130"]]
52735
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52736
- 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"."id" != 1) [["coalescing_panda_course_id", 1]]
52737
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]
52738
-  (0.0ms) SAVEPOINT active_record_1
52739
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"], ["name", "teacher@test.com"], ["login_id", "teacher@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.231703"], ["updated_at", "2016-05-13 16:13:31.231703"]]
52740
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52741
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]
52742
-  (0.0ms) SAVEPOINT active_record_1
52743
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"], ["name", "student1@test.com"], ["login_id", "student1@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.233455"], ["updated_at", "2016-05-13 16:13:31.233455"]]
52744
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52745
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]
52746
-  (0.0ms) SAVEPOINT active_record_1
52747
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"], ["name", "student2@test.com"], ["login_id", "student2@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.235215"], ["updated_at", "2016-05-13 16:13:31.235215"]]
52748
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52749
- 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 ("coalescing_panda_users"."id" IS NOT NULL) [["coalescing_panda_course_id", 1]]
52750
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52751
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"]]
52752
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52753
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]
52754
-  (0.0ms) SAVEPOINT active_record_1
52755
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"], ["coalescing_panda_user_id", 1], ["created_at", "2014-11-07 21:17:54.000000"], ["updated_at", "2014-11-11 22:11:19.000000"], ["workflow_state", "active"], ["enrollment_type", "TeacherEnrollment"]]
52756
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52757
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52758
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"]]
52759
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52760
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]
52761
-  (0.0ms) SAVEPOINT active_record_1
52762
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"], ["coalescing_panda_user_id", 2], ["created_at", "2014-11-07 21:18:16.000000"], ["updated_at", "2014-11-20 23:18:17.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]
52763
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52764
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52765
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"]]
52766
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52767
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]
52768
-  (0.0ms) SAVEPOINT active_record_1
52769
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"], ["coalescing_panda_user_id", 3], ["created_at", "2014-11-07 21:18:17.000000"], ["updated_at", "2014-11-20 23:18:21.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]
52770
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52771
- 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 ("coalescing_panda_enrollments"."id" NOT IN (1, 2, 3)) [["coalescing_panda_course_id", 1]]
52772
- 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" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]]
52773
- CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]
52774
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1]]
52775
-  (0.0ms) SAVEPOINT active_record_1
52776
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "group_category_id", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"], ["created_at", "2014-11-18 18:04:38.000000"], ["description", "<p>What is your name?</p>"], ["grade_group_students_individually", "f"], ["group_category_id", 1], ["points_possible", 100.0], ["updated_at", "2014-11-18 18:04:42.000000"], ["name", "Gimme your name"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]
52777
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52778
- 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" = ? ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]]
52779
- CoalescingPanda::AssignmentGroup Load (0.0ms) SELECT "coalescing_panda_assignment_groups".* FROM "coalescing_panda_assignment_groups" WHERE "coalescing_panda_assignment_groups"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignment_groups"."canvas_assignment_group_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_group_id", "1"]]
52780
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" IS NULL LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52781
-  (0.0ms) SAVEPOINT active_record_1
52782
- SQL (0.1ms) INSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id", "created_at", "description", "grade_group_students_individually", "points_possible", "updated_at", "name", "submission_types", "published") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"], ["created_at", "2014-11-18 19:10:28.000000"], ["description", "<p>What is your Favorite Color?</p>"], ["grade_group_students_individually", "f"], ["points_possible", 100.0], ["updated_at", "2014-11-18 19:10:30.000000"], ["name", "Favorite Color"], ["submission_types", "---\n- online_text_entry\n"], ["published", "t"]]
52783
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52784
- 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"."id" NOT IN (1, 2)) [["coalescing_panda_course_id", 1]]
52785
- 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 "coalescing_panda_submissions"."canvas_submission_id" = ? ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_submission_id", "3"]]
52786
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]]
52787
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]]
52788
-  (0.0ms) SAVEPOINT active_record_1
52789
- SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "coalescing_panda_assignment_id", "grade", "score", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "3"], ["coalescing_panda_user_id", 3], ["coalescing_panda_assignment_id", 1], ["grade", "70"], ["score", "70"], ["workflow_state", "graded"], ["created_at", "2016-05-13 16:13:31.270300"], ["updated_at", "2016-05-13 16:13:31.270300"]]
52790
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52791
- 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 "coalescing_panda_submissions"."canvas_submission_id" = ? ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_submission_id", "1"]]
52792
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]
52793
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "1"]]
52794
-  (0.0ms) SAVEPOINT active_record_1
52795
- SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "coalescing_panda_assignment_id", "grade", "score", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "1"], ["coalescing_panda_user_id", 2], ["coalescing_panda_assignment_id", 1], ["grade", "100"], ["score", "100"], ["workflow_state", "graded"], ["created_at", "2016-05-13 16:13:31.273972"], ["updated_at", "2016-05-13 16:13:31.273972"]]
52796
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52797
- 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 "coalescing_panda_submissions"."canvas_submission_id" = ? ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_submission_id", "4"]]
52798
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]]
52799
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]]
52800
-  (0.0ms) SAVEPOINT active_record_1
52801
- SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "coalescing_panda_assignment_id", "grade", "score", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "4"], ["coalescing_panda_user_id", 3], ["coalescing_panda_assignment_id", 2], ["grade", "90"], ["score", "90"], ["workflow_state", "graded"], ["created_at", "2016-05-13 16:13:31.277657"], ["updated_at", "2016-05-13 16:13:31.277657"]]
52802
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52803
- 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 "coalescing_panda_submissions"."canvas_submission_id" = ? ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_submission_id", "2"]]
52804
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]
52805
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_assignment_id", "2"]]
52806
-  (0.0ms) SAVEPOINT active_record_1
52807
- SQL (0.1ms) INSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_user_id", "coalescing_panda_assignment_id", "grade", "score", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_submission_id", "2"], ["coalescing_panda_user_id", 2], ["coalescing_panda_assignment_id", 2], ["grade", "80"], ["score", "80"], ["workflow_state", "graded"], ["created_at", "2016-05-13 16:13:31.281885"], ["updated_at", "2016-05-13 16:13:31.281885"]]
52808
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52809
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_submissions"
52810
-  (1.1ms) rollback transaction
52811
-  (0.1ms) begin transaction
52812
- CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"
52813
-  (0.0ms) SAVEPOINT active_record_1
52814
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1
52815
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1
52816
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 99"], ["key", "Key 99"], ["secret", "Account 99"], ["canvas_account_id", "98"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.290917"], ["updated_at", "2016-05-13 16:13:31.290917"]]
52817
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52818
-  (0.0ms) SAVEPOINT active_record_1
52819
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1
52820
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1
52821
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 100"], ["key", "Key 100"], ["secret", "Account 100"], ["canvas_account_id", "99"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.294928"], ["updated_at", "2016-05-13 16:13:31.294928"]]
52822
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52823
-  (0.0ms) SAVEPOINT active_record_1
52824
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "41"], ["created_at", "2016-05-13 16:13:31.297526"], ["updated_at", "2016-05-13 16:13:31.297526"]]
52825
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52826
-  (0.0ms) SAVEPOINT active_record_1
52827
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "36"], ["created_at", "2016-05-13 16:13:31.298983"], ["updated_at", "2016-05-13 16:13:31.298983"]]
52828
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52829
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52830
-  (0.0ms) SAVEPOINT active_record_1
52831
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.302056"], ["updated_at", "2016-05-13 16:13:31.302056"]]
52832
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52833
-  (0.0ms) SAVEPOINT active_record_1
52834
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.303518"], ["id", 1]]
52835
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52836
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" = ? ORDER BY "coalescing_panda_group_categories"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1]]
52837
-  (0.0ms) SAVEPOINT active_record_1
52838
- SQL (0.1ms) INSERT INTO "coalescing_panda_group_categories" ("context_id", "context_type", "canvas_group_category_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1], ["name", "mark red"], ["created_at", "2016-05-13 16:13:31.305751"], ["updated_at", "2016-05-13 16:13:31.305751"]]
52839
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52840
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]
52841
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1]]
52842
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]
52843
-  (0.0ms) SAVEPOINT active_record_1
52844
- SQL (0.1ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "coalescing_panda_group_category_id", "group_category_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"], ["coalescing_panda_group_category_id", 1], ["group_category_id", "1"], ["name", "Student Group 1"], ["members_count", 2], ["created_at", "2016-05-13 16:13:31.309275"], ["updated_at", "2016-05-13 16:13:31.309275"]]
52845
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52846
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"]]
52847
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" IS NULL LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52848
-  (0.0ms) SAVEPOINT active_record_1
52849
- SQL (0.1ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"], ["name", "Student Group 2"], ["members_count", 2], ["created_at", "2016-05-13 16:13:31.311573"], ["updated_at", "2016-05-13 16:13:31.311573"]]
52850
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52851
- CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND ("coalescing_panda_groups"."id" NOT IN (1, 2)) [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52852
-  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_groups"
52853
- CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["canvas_group_id", "4"]]
52854
-  (0.9ms) rollback transaction
52855
-  (0.0ms) begin transaction
52856
- CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups"
52857
-  (0.1ms) SAVEPOINT active_record_1
52858
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1
52859
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1
52860
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 101"], ["key", "Key 101"], ["secret", "Account 101"], ["canvas_account_id", "100"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.320897"], ["updated_at", "2016-05-13 16:13:31.320897"]]
52861
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52862
-  (0.0ms) SAVEPOINT active_record_1
52863
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1
52864
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1
52865
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 102"], ["key", "Key 102"], ["secret", "Account 102"], ["canvas_account_id", "101"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.325478"], ["updated_at", "2016-05-13 16:13:31.325478"]]
52866
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52867
-  (0.0ms) SAVEPOINT active_record_1
52868
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "42"], ["created_at", "2016-05-13 16:13:31.327937"], ["updated_at", "2016-05-13 16:13:31.327937"]]
52869
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52870
-  (0.0ms) SAVEPOINT active_record_1
52871
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "37"], ["created_at", "2016-05-13 16:13:31.329329"], ["updated_at", "2016-05-13 16:13:31.329329"]]
52872
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52873
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52874
-  (0.0ms) SAVEPOINT active_record_1
52875
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.331889"], ["updated_at", "2016-05-13 16:13:31.331889"]]
52876
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52877
-  (0.0ms) SAVEPOINT active_record_1
52878
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.333321"], ["id", 1]]
52879
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52880
- 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" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52881
-  (0.0ms) SAVEPOINT active_record_1
52882
- SQL (0.1ms) INSERT INTO "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"], ["name", "Course1"], ["created_at", "2016-05-13 16:13:31.335519"], ["updated_at", "2016-05-13 16:13:31.335519"]]
52883
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52884
- 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"."id" != 1) [["coalescing_panda_course_id", 1]]
52885
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]
52886
-  (0.1ms) SAVEPOINT active_record_1
52887
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"], ["name", "teacher@test.com"], ["login_id", "teacher@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.337813"], ["updated_at", "2016-05-13 16:13:31.337813"]]
52888
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52889
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]
52890
-  (0.0ms) SAVEPOINT active_record_1
52891
- SQL (0.1ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"], ["name", "student1@test.com"], ["login_id", "student1@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.339465"], ["updated_at", "2016-05-13 16:13:31.339465"]]
52892
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52893
- 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" = ? ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]
52894
-  (0.0ms) SAVEPOINT active_record_1
52895
- SQL (0.0ms) INSERT INTO "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id", "name", "login_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"], ["name", "student2@test.com"], ["login_id", "student2@test.com"], ["sis_id", ""], ["created_at", "2016-05-13 16:13:31.341020"], ["updated_at", "2016-05-13 16:13:31.341020"]]
52896
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52897
- 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 ("coalescing_panda_users"."id" IS NOT NULL) [["coalescing_panda_course_id", 1]]
52898
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52899
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"]]
52900
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52901
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "1"]]
52902
-  (0.0ms) SAVEPOINT active_record_1
52903
- SQL (0.1ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "1"], ["coalescing_panda_user_id", 1], ["created_at", "2014-11-07 21:17:54.000000"], ["updated_at", "2014-11-11 22:11:19.000000"], ["workflow_state", "active"], ["enrollment_type", "TeacherEnrollment"]]
52904
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52905
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52906
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"]]
52907
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52908
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "2"]]
52909
-  (0.0ms) SAVEPOINT active_record_1
52910
- SQL (0.0ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "2"], ["coalescing_panda_user_id", 2], ["created_at", "2014-11-07 21:18:16.000000"], ["updated_at", "2014-11-20 23:18:17.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]
52911
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52912
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52913
- CoalescingPanda::Enrollment Load (0.0ms) SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? AND "coalescing_panda_enrollments"."canvas_enrollment_id" = ? ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"]]
52914
- 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" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_section_id", "1"]]
52915
- 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" = ? LIMIT 1 [["coalescing_panda_lti_account_id", 1], ["canvas_user_id", "3"]]
52916
-  (0.0ms) SAVEPOINT active_record_1
52917
- SQL (0.0ms) INSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "canvas_enrollment_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state", "enrollment_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["coalescing_panda_section_id", 1], ["canvas_enrollment_id", "3"], ["coalescing_panda_user_id", 3], ["created_at", "2014-11-07 21:18:17.000000"], ["updated_at", "2014-11-20 23:18:21.000000"], ["workflow_state", "active"], ["enrollment_type", "StudentEnrollment"]]
52918
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52919
- 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 ("coalescing_panda_enrollments"."id" NOT IN (1, 2, 3)) [["coalescing_panda_course_id", 1]]
52920
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]
52921
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_category_id", 1]]
52922
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]
52923
-  (0.0ms) SAVEPOINT active_record_1
52924
- SQL (0.1ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "leader_id", "group_category_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"], ["leader_id", 2], ["group_category_id", "1"], ["name", "Student Group 1"], ["members_count", 2], ["created_at", "2016-05-13 16:13:31.356734"], ["updated_at", "2016-05-13 16:13:31.356734"]]
52925
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52926
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"]]
52927
- CoalescingPanda::GroupCategory Load (0.0ms) SELECT "coalescing_panda_group_categories".* FROM "coalescing_panda_group_categories" WHERE "coalescing_panda_group_categories"."context_id" = ? AND "coalescing_panda_group_categories"."context_type" = ? AND "coalescing_panda_group_categories"."canvas_group_category_id" IS NULL LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52928
-  (0.0ms) SAVEPOINT active_record_1
52929
- SQL (0.1ms) INSERT INTO "coalescing_panda_groups" ("context_id", "context_type", "canvas_group_id", "name", "members_count", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "5"], ["name", "Student Group 2"], ["members_count", 2], ["created_at", "2016-05-13 16:13:31.358993"], ["updated_at", "2016-05-13 16:13:31.358993"]]
52930
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52931
- CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND ("coalescing_panda_groups"."id" NOT IN (1, 2)) [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52932
-  (0.1ms) SELECT COUNT(*) FROM "coalescing_panda_groups"
52933
- CoalescingPanda::Group Load (0.1ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."canvas_group_id" = ? ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["canvas_group_id", "4"]]
52934
- CoalescingPanda::User Load (0.1ms) SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."id" = ? LIMIT 1 [["id", 2]]
52935
-  (1.0ms) rollback transaction
52936
-  (0.1ms) begin transaction
52937
- CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"
52938
-  (0.0ms) SAVEPOINT active_record_1
52939
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1
52940
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1
52941
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 103"], ["key", "Key 103"], ["secret", "Account 103"], ["canvas_account_id", "102"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.369965"], ["updated_at", "2016-05-13 16:13:31.369965"]]
52942
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52943
-  (0.0ms) SAVEPOINT active_record_1
52944
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1
52945
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1
52946
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 104"], ["key", "Key 104"], ["secret", "Account 104"], ["canvas_account_id", "103"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.373297"], ["updated_at", "2016-05-13 16:13:31.373297"]]
52947
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52948
-  (0.0ms) SAVEPOINT active_record_1
52949
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "43"], ["created_at", "2016-05-13 16:13:31.375454"], ["updated_at", "2016-05-13 16:13:31.375454"]]
52950
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52951
-  (0.0ms) SAVEPOINT active_record_1
52952
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "38"], ["created_at", "2016-05-13 16:13:31.376648"], ["updated_at", "2016-05-13 16:13:31.376648"]]
52953
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52954
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52955
-  (0.0ms) SAVEPOINT active_record_1
52956
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.379256"], ["updated_at", "2016-05-13 16:13:31.379256"]]
52957
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52958
-  (0.0ms) SAVEPOINT active_record_1
52959
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.380625"], ["id", 1]]
52960
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52961
- CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "13"]]
52962
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]
52963
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "2"]]
52964
-  (0.0ms) SAVEPOINT active_record_1
52965
- SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "moderator", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_group_membership_id", "13"], ["moderator", "t"], ["workflow_state", "accepted"], ["created_at", "2016-05-13 16:13:31.384376"], ["updated_at", "2016-05-13 16:13:31.384376"]]
52966
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52967
- CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_group_memberships"."canvas_group_membership_id" = ? ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_membership_id", "14"]]
52968
- CoalescingPanda::Group Load (0.0ms) SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND "coalescing_panda_groups"."canvas_group_id" = ? LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["canvas_group_id", "4"]]
52969
- 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 "coalescing_panda_users"."canvas_user_id" = ? LIMIT 1 [["coalescing_panda_course_id", 1], ["canvas_user_id", "3"]]
52970
-  (0.0ms) SAVEPOINT active_record_1
52971
- SQL (0.1ms) INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "moderator", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_group_membership_id", "14"], ["moderator", "f"], ["workflow_state", "accepted"], ["created_at", "2016-05-13 16:13:31.387013"], ["updated_at", "2016-05-13 16:13:31.387013"]]
52972
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52973
- CoalescingPanda::GroupMembership Load (0.1ms) SELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships" INNER JOIN "coalescing_panda_groups" ON "coalescing_panda_group_memberships"."coalescing_panda_group_id" = "coalescing_panda_groups"."id" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND ("coalescing_panda_group_memberships"."id" NOT IN (1, 2)) [["context_id", 1], ["context_type", "CoalescingPanda::Course"]]
52974
-  (0.0ms) SELECT COUNT(*) FROM "coalescing_panda_group_memberships"
52975
-  (0.8ms) rollback transaction
52976
-  (0.0ms) begin transaction
52977
-  (0.1ms) SAVEPOINT active_record_1
52978
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1
52979
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1
52980
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 105"], ["key", "Key 105"], ["secret", "Account 105"], ["canvas_account_id", "104"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.397209"], ["updated_at", "2016-05-13 16:13:31.397209"]]
52981
-  (0.1ms) RELEASE SAVEPOINT active_record_1
52982
-  (0.0ms) SAVEPOINT active_record_1
52983
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1
52984
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1
52985
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 106"], ["key", "Key 106"], ["secret", "Account 106"], ["canvas_account_id", "105"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.458164"], ["updated_at", "2016-05-13 16:13:31.458164"]]
52986
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52987
-  (0.0ms) SAVEPOINT active_record_1
52988
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "44"], ["created_at", "2016-05-13 16:13:31.460533"], ["updated_at", "2016-05-13 16:13:31.460533"]]
52989
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52990
-  (0.0ms) SAVEPOINT active_record_1
52991
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "39"], ["created_at", "2016-05-13 16:13:31.461907"], ["updated_at", "2016-05-13 16:13:31.461907"]]
52992
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52993
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
52994
-  (0.0ms) SAVEPOINT active_record_1
52995
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.464739"], ["updated_at", "2016-05-13 16:13:31.464739"]]
52996
-  (0.0ms) RELEASE SAVEPOINT active_record_1
52997
-  (0.0ms) SAVEPOINT active_record_1
52998
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.466220"], ["id", 1]]
52999
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53000
-  (0.8ms) rollback transaction
53001
-  (0.0ms) begin transaction
53002
-  (0.0ms) SAVEPOINT active_record_1
53003
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1
53004
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1
53005
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 107"], ["key", "Key 107"], ["secret", "Account 107"], ["canvas_account_id", "106"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.473949"], ["updated_at", "2016-05-13 16:13:31.473949"]]
53006
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53007
-  (0.0ms) SAVEPOINT active_record_1
53008
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1
53009
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1
53010
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 108"], ["key", "Key 108"], ["secret", "Account 108"], ["canvas_account_id", "107"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.477931"], ["updated_at", "2016-05-13 16:13:31.477931"]]
53011
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53012
-  (0.0ms) SAVEPOINT active_record_1
53013
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "45"], ["created_at", "2016-05-13 16:13:31.480582"], ["updated_at", "2016-05-13 16:13:31.480582"]]
53014
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53015
-  (0.0ms) SAVEPOINT active_record_1
53016
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "40"], ["created_at", "2016-05-13 16:13:31.482405"], ["updated_at", "2016-05-13 16:13:31.482405"]]
53017
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53018
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53019
-  (0.0ms) SAVEPOINT active_record_1
53020
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.486095"], ["updated_at", "2016-05-13 16:13:31.486095"]]
53021
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53022
-  (0.0ms) SAVEPOINT active_record_1
53023
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.488198"], ["id", 1]]
53024
-  (0.1ms) RELEASE SAVEPOINT active_record_1
53025
-  (0.8ms) rollback transaction
53026
-  (0.0ms) begin transaction
53027
-  (0.0ms) SAVEPOINT active_record_1
53028
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1
53029
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1
53030
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 109"], ["key", "Key 109"], ["secret", "Account 109"], ["canvas_account_id", "108"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.497183"], ["updated_at", "2016-05-13 16:13:31.497183"]]
53031
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53032
-  (0.0ms) SAVEPOINT active_record_1
53033
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1
53034
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1
53035
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 110"], ["key", "Key 110"], ["secret", "Account 110"], ["canvas_account_id", "109"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.500312"], ["updated_at", "2016-05-13 16:13:31.500312"]]
53036
-  (0.1ms) RELEASE SAVEPOINT active_record_1
53037
-  (0.0ms) SAVEPOINT active_record_1
53038
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "46"], ["created_at", "2016-05-13 16:13:31.502839"], ["updated_at", "2016-05-13 16:13:31.502839"]]
53039
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53040
-  (0.0ms) SAVEPOINT active_record_1
53041
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "41"], ["created_at", "2016-05-13 16:13:31.504484"], ["updated_at", "2016-05-13 16:13:31.504484"]]
53042
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53043
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53044
-  (0.0ms) SAVEPOINT active_record_1
53045
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.508046"], ["updated_at", "2016-05-13 16:13:31.508046"]]
53046
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53047
-  (0.0ms) SAVEPOINT active_record_1
53048
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.510205"], ["id", 1]]
53049
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53050
-  (0.7ms) rollback transaction
53051
-  (0.0ms) begin transaction
53052
-  (0.0ms) SAVEPOINT active_record_1
53053
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1
53054
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1
53055
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 111"], ["key", "Key 111"], ["secret", "Account 111"], ["canvas_account_id", "110"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.519025"], ["updated_at", "2016-05-13 16:13:31.519025"]]
53056
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53057
-  (0.0ms) SAVEPOINT active_record_1
53058
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1
53059
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1
53060
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 112"], ["key", "Key 112"], ["secret", "Account 112"], ["canvas_account_id", "111"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.522833"], ["updated_at", "2016-05-13 16:13:31.522833"]]
53061
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53062
-  (0.0ms) SAVEPOINT active_record_1
53063
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "47"], ["created_at", "2016-05-13 16:13:31.525285"], ["updated_at", "2016-05-13 16:13:31.525285"]]
53064
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53065
-  (0.0ms) SAVEPOINT active_record_1
53066
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "42"], ["created_at", "2016-05-13 16:13:31.526731"], ["updated_at", "2016-05-13 16:13:31.526731"]]
53067
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53068
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53069
-  (0.0ms) SAVEPOINT active_record_1
53070
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.530280"], ["updated_at", "2016-05-13 16:13:31.530280"]]
53071
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53072
-  (0.0ms) SAVEPOINT active_record_1
53073
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.532087"], ["id", 1]]
53074
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53075
-  (0.7ms) rollback transaction
53076
-  (0.0ms) begin transaction
53077
-  (0.1ms) SAVEPOINT active_record_1
53078
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1
53079
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1
53080
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 113"], ["key", "Key 113"], ["secret", "Account 113"], ["canvas_account_id", "112"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.541274"], ["updated_at", "2016-05-13 16:13:31.541274"]]
53081
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53082
-  (0.0ms) SAVEPOINT active_record_1
53083
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1
53084
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1
53085
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 114"], ["key", "Key 114"], ["secret", "Account 114"], ["canvas_account_id", "113"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.545194"], ["updated_at", "2016-05-13 16:13:31.545194"]]
53086
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53087
-  (0.0ms) SAVEPOINT active_record_1
53088
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "48"], ["created_at", "2016-05-13 16:13:31.547609"], ["updated_at", "2016-05-13 16:13:31.547609"]]
53089
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53090
-  (0.0ms) SAVEPOINT active_record_1
53091
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "43"], ["created_at", "2016-05-13 16:13:31.549024"], ["updated_at", "2016-05-13 16:13:31.549024"]]
53092
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53093
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53094
-  (0.0ms) SAVEPOINT active_record_1
53095
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.551750"], ["updated_at", "2016-05-13 16:13:31.551750"]]
53096
-  (0.1ms) RELEASE SAVEPOINT active_record_1
53097
-  (0.0ms) SAVEPOINT active_record_1
53098
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.553570"], ["id", 1]]
53099
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53100
-  (0.7ms) rollback transaction
53101
-  (0.1ms) begin transaction
53102
-  (0.1ms) SAVEPOINT active_record_1
53103
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1
53104
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1
53105
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 115"], ["key", "Key 115"], ["secret", "Account 115"], ["canvas_account_id", "114"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.562541"], ["updated_at", "2016-05-13 16:13:31.562541"]]
53106
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53107
-  (0.0ms) SAVEPOINT active_record_1
53108
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1
53109
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1
53110
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 116"], ["key", "Key 116"], ["secret", "Account 116"], ["canvas_account_id", "115"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.566049"], ["updated_at", "2016-05-13 16:13:31.566049"]]
53111
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53112
-  (0.0ms) SAVEPOINT active_record_1
53113
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "49"], ["created_at", "2016-05-13 16:13:31.567823"], ["updated_at", "2016-05-13 16:13:31.567823"]]
53114
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53115
-  (0.0ms) SAVEPOINT active_record_1
53116
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "44"], ["created_at", "2016-05-13 16:13:31.569045"], ["updated_at", "2016-05-13 16:13:31.569045"]]
53117
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53118
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53119
-  (0.0ms) SAVEPOINT active_record_1
53120
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.571692"], ["updated_at", "2016-05-13 16:13:31.571692"]]
53121
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53122
-  (0.0ms) SAVEPOINT active_record_1
53123
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.573279"], ["id", 1]]
53124
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53125
-  (0.8ms) rollback transaction
53126
-  (0.1ms) begin transaction
53127
-  (0.1ms) SAVEPOINT active_record_1
53128
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1
53129
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1
53130
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 117"], ["key", "Key 117"], ["secret", "Account 117"], ["canvas_account_id", "116"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.582401"], ["updated_at", "2016-05-13 16:13:31.582401"]]
53131
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53132
-  (0.0ms) SAVEPOINT active_record_1
53133
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1
53134
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1
53135
- SQL (0.3ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 118"], ["key", "Key 118"], ["secret", "Account 118"], ["canvas_account_id", "117"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.585904"], ["updated_at", "2016-05-13 16:13:31.585904"]]
53136
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53137
-  (0.0ms) SAVEPOINT active_record_1
53138
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "50"], ["created_at", "2016-05-13 16:13:31.588315"], ["updated_at", "2016-05-13 16:13:31.588315"]]
53139
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53140
-  (0.0ms) SAVEPOINT active_record_1
53141
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "45"], ["created_at", "2016-05-13 16:13:31.589973"], ["updated_at", "2016-05-13 16:13:31.589973"]]
53142
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53143
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53144
-  (0.0ms) SAVEPOINT active_record_1
53145
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.593560"], ["updated_at", "2016-05-13 16:13:31.593560"]]
53146
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53147
-  (0.0ms) SAVEPOINT active_record_1
53148
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.595361"], ["id", 1]]
53149
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53150
-  (0.7ms) rollback transaction
53151
-  (0.0ms) begin transaction
53152
-  (0.0ms) SAVEPOINT active_record_1
53153
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1
53154
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1
53155
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 119"], ["key", "Key 119"], ["secret", "Account 119"], ["canvas_account_id", "118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.602917"], ["updated_at", "2016-05-13 16:13:31.602917"]]
53156
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53157
-  (0.0ms) SAVEPOINT active_record_1
53158
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1
53159
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1
53160
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 120"], ["key", "Key 120"], ["secret", "Account 120"], ["canvas_account_id", "119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.606636"], ["updated_at", "2016-05-13 16:13:31.606636"]]
53161
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53162
-  (0.0ms) SAVEPOINT active_record_1
53163
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "51"], ["created_at", "2016-05-13 16:13:31.609151"], ["updated_at", "2016-05-13 16:13:31.609151"]]
53164
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53165
-  (0.0ms) SAVEPOINT active_record_1
53166
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "46"], ["created_at", "2016-05-13 16:13:31.610440"], ["updated_at", "2016-05-13 16:13:31.610440"]]
53167
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53168
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53169
-  (0.0ms) SAVEPOINT active_record_1
53170
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.613357"], ["updated_at", "2016-05-13 16:13:31.613357"]]
53171
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53172
-  (0.0ms) SAVEPOINT active_record_1
53173
- SQL (0.1ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.614949"], ["id", 1]]
53174
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53175
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53176
-  (0.0ms) SAVEPOINT active_record_1
53177
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53178
-  (0.8ms) rollback transaction
53179
-  (0.0ms) begin transaction
53180
-  (0.0ms) SAVEPOINT active_record_1
53181
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1
53182
- CoalescingPanda::LtiAccount Exists (0.0ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1
53183
- SQL (0.2ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 121"], ["key", "Key 121"], ["secret", "Account 121"], ["canvas_account_id", "120"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.623955"], ["updated_at", "2016-05-13 16:13:31.623955"]]
53184
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53185
-  (0.0ms) SAVEPOINT active_record_1
53186
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1
53187
- CoalescingPanda::LtiAccount Exists (0.1ms) SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1
53188
- SQL (0.4ms) INSERT INTO "coalescing_panda_lti_accounts" ("name", "key", "secret", "canvas_account_id", "oauth2_client_id", "oauth2_client_key", "settings", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Account 122"], ["key", "Key 122"], ["secret", "Account 122"], ["canvas_account_id", "121"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["created_at", "2016-05-13 16:13:31.627726"], ["updated_at", "2016-05-13 16:13:31.627726"]]
53189
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53190
-  (0.0ms) SAVEPOINT active_record_1
53191
- SQL (0.1ms) INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "canvas_term_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["coalescing_panda_lti_account_id", 2], ["canvas_term_id", "52"], ["created_at", "2016-05-13 16:13:31.630231"], ["updated_at", "2016-05-13 16:13:31.630231"]]
53192
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53193
-  (0.0ms) SAVEPOINT active_record_1
53194
- SQL (0.1ms) INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "coalescing_panda_term_id", "name", "canvas_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["name", "Test Course"], ["canvas_course_id", "47"], ["created_at", "2016-05-13 16:13:31.631863"], ["updated_at", "2016-05-13 16:13:31.631863"]]
53195
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53196
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53197
-  (0.0ms) SAVEPOINT active_record_1
53198
- SQL (0.1ms) INSERT INTO "coalescing_panda_canvas_batches" ("context_id", "context_type", "status", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["status", "Queued"], ["coalescing_panda_lti_account_id", 1], ["created_at", "2016-05-13 16:13:31.635096"], ["updated_at", "2016-05-13 16:13:31.635096"]]
53199
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53200
-  (0.0ms) SAVEPOINT active_record_1
53201
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "options" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["options", "---\n- :sections\n- :users\n- :enrollments\n- :assignments\n- :assignment_groups\n- :submissions\n- :groups\n- :group_memberships\n"], ["updated_at", "2016-05-13 16:13:31.636838"], ["id", 1]]
53202
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53203
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53204
-  (0.0ms) SAVEPOINT active_record_1
53205
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53206
-  (0.0ms) SAVEPOINT active_record_1
53207
- SQL (0.0ms) UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = ? [["status", "Started"], ["updated_at", "2016-05-13 16:13:31.640266"], ["id", 1]]
53208
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53209
- CoalescingPanda::CanvasBatch Load (0.1ms) SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" WHERE "coalescing_panda_canvas_batches"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_canvas_batches"."context_type" = 'CoalescingPanda::Course' AND "coalescing_panda_canvas_batches"."context_id" = 1 ORDER BY created_at DESC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
53210
-  (0.0ms) SAVEPOINT active_record_1
53211
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53212
-  (0.7ms) rollback transaction